UTF8

Riccardo Cohen rcohen at articque.com
Wed Nov 21 13:16:35 PST 2007


you can read this : 
http://www.wxwidgets.org/manuals/stable/wx_unicode.html#unicode

zeroDwa wrote:
> What I can use UTF-8 in my wxprograms?
> convert normal string to utf-8 .
> i use
> 
> wxString ToUTF8(wxString str)
> {
> wxString mess( str.mb_str(wxConvLocal), wxConvUTF8);
> mess.Replace(wxT("&"), wxT("&"));
> mess.Replace(wxT("<"), wxT("&lt;"));
> mess.Replace(wxT(">"), wxT("&gt;"));
> mess.Replace(wxT("\""), wxT("&quot;"));
> mess.Replace(wxT("'"), wxT("&apos;"));
> mess.Replace(wxT("âŹ"), wxT("&euro;"));
> return mess;
> }
> 
> but not working ;( not change anything
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 
> 

-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49





More information about the wx-users mailing list