using unicode strings in ansi build
Vadim Zeitlin
vadim at wxwindows.org
Sat Aug 5 14:54:47 PDT 2006
On Sun, 06 Aug 2006 00:51:06 +0300 Alexander Vassilev <avasilev at voipgate.com> wrote:
AV> Yes, that is what I will use to convert from UTF-8 to wide char, but
AV> then i need to store the widechar strings in some string class and do
AV> some processing, this is what i am looking for.
Once you convert UTF-8 to wchar_t you can indeed use std::wstring (but not
wxString).
AV> So what I am intending to do is to convert from utf-8 encoded ANSI wx
AV> strings to widechar using wxConvUTF8 and store the resulting strings in
AV> std::wstring.
Yes, this is the right plan.
Good luck,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list