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

Bob Ham rah at bash.sh
Tue Feb 20 22:59:06 UTC 2007


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 at bash.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20070220/34504f27/attachment.pgp>


More information about the Linux-audio-dev mailing list