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? Or is there some simple example
> code snippet somewhere to derive/modify something which would fullfill this
> need?
> Kindest regards and thanks!
> Julien
>
> --------
>
Not really, but it is easy to implement:
typedef basic_string<wchar_t> string;
For UTF-16 (which is variable width) you'd have to supply your own
char_traits, or reimplement some string functions.
Camilo
Received on Tue Feb 20 04:15:02 2007
This archive was generated by hypermail 2.1.8 : Tue Feb 20 2007 - 04:15:03 EET