Search found 153 matches

by acsMike
Fri Feb 11, 2005 11:03 am
Forum: C++ Development
Topic: Unicode to Unicode conversion
Replies: 6
Views: 1468

I am sure it does work in Ansi build, at least if I browse the source code... However, this actual conversion is not executed in a Unicode build!

Could this be a mistake by the developers? I think I will try to patch the code just to try!

Thanks!
by acsMike
Fri Feb 11, 2005 10:49 am
Forum: C++ Development
Topic: Unicode to Unicode conversion
Replies: 6
Views: 1468

wxString using wc_str() with the correct wxCONVxxx class Acctuallly, it won't work. In a wxUSE_UNICODE build, wxString::wc_str() is aliased as to be the same as wxString::c_str() (Thus the conversion class is unused.) It effectively means you can only "convert" to what you already have. Hmmm... - d...
by acsMike
Fri Feb 11, 2005 9:14 am
Forum: C++ Development
Topic: Unicode to Unicode conversion
Replies: 6
Views: 1468

Unicode to Unicode conversion

Hello, I tried to search the forum on the issue but could not find any topic about it. What is the optimal way to convert between Unicode and Unicode? For example between UTF32 and UTF16? I am trying to write a little class for reading and writing text files in all encoding formats (ansi, utf8, 16, ...