Re: [linux-audio-dev] [completely OT] c++ and UTF-8 question

From: Bob Ham <rah@email-addr-hidden>
Date: Wed Feb 21 2007 - 00:59:06 EET

On Tue, 2007-02-20 at 22:48 +0000, Bob Ham wrote:
> On Mon, 2007-02-19 at 22:29 +0100, Julien Claassen wrote:
> > Hi!
> > I'm sorry to ask that here, but it seems I can't get an anser anywhere else.
> > Does the libstdc++ support UTF-8 strings?
>
> It does indeed; there is std::wstring, std::wostringstream, std::wcout,
> etc, etc. In Stroustrup, they appear to be defined along with the char
> types; ie, I don't think you need to declare that you want them in
> addition.

Further to that, you might find these useful:

http://teasel.6gnip.net/~rah/mbs.h
http://teasel.6gnip.net/~rah/mbs.cpp

Bob

-- 
Bob Ham <rah@email-addr-hidden>

Received on Wed Feb 21 04:15:03 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 21 2007 - 04:15:03 EET