These days I am writing a program with wxlua,and I want it to run in windows and linux.But I the charset encoding/decoding is a problem.
For example I want to take a string from wxTextCtrl to handle,and I wish it is a Unicode string,but I found that when in linux,this string is a "utf8" string,when it is windows,this string is a "ansi" string,that is to say,if it is a chinese windows,the string will be "gbk" string.(I am using wxlua in LuaForWindows in windows) And I found that wxlua's wxString is simple,do not have the "ToUTF8()" or "ToStdWstring()" method now.If this method can be supported in wxlua,I can get a unicode string. Can somebody give me some advice? I just do not want to judge the system default charset and convert it to unicode. Another thing is :Does this bug will be fixed?:http://article.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/2616 Thanks! ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users