[wx-dev] Improving wxString proposal (Re: #9672: wx 2.9 Ansi/Unicode Combi-wxString)

Stefan Csomor csomor at advancedconcepts.ch
Fri Jul 11 05:10:58 PDT 2008


Hi

On 11.07.08 11:59, "Robert Roebling" <robert at roebling.de> wrote:

> 
>>> So I wonder if we at least
>>> could offer a UTF-16 string class in addition to the
>>> current wxString class so people could replace their
>>> wxString with wxU16String in their algorithms,
>> 
>> Like "std::wstring"? Why add another name for the same
>> thing?
> 
> Because std::wstring is not UTF16 on any platform other
> than Windows. It is 32-bit elsewhere.

yes, on OSX it is the 16 bit type and not wchar_t that is the native
representation, it always was and still is now that ICU / UChar is used
internally

Best,

Stefan 






More information about the wx-dev mailing list