std::string support UTF8?

Zack Weinberg zack@codesourcery.com
Thu Apr 28 20:32:00 GMT 2005


Andrew Pinski <pinskia@physics.uc.edu> writes:

> On Apr 28, 2005, at 3:08 PM, Laurielle Lea wrote:
>
>> Hello,
>>
>> I would like just to know if string class of libstdc++ support UTF8
>> and if not, is it possible to convert string to utf8 ?
>
> wstring supports wide strings via wchar_t.  string supports just 8bit
> chars so you figure
> it out.
>
> This question is not appropriate for this list, next time use gcc-help
> or ask your question on a C++ news group like comp.lang.c++.

This is the sort of unnecessarily rude response to a question, that I
was just saying we should avoid.  It is fine to redirect these
questions to a more appropriate forum, but please be polite about it.

zw



More information about the Gcc mailing list