Re: UTF-8 and wxEuphoria
- Posted by mattlewis (admin) Sep 09, 2011
- 1142 views
Kondor_Attila said...
Hello everybody,
I would like go to Ubuntu and to use UTF-8 in wxEuphoria.
if I make aLabel =create( wxStaticText, {IdzWin,-1, "éáöü", 5, 30, 90, 20, wxTE_CENTRE}), or set_label (aLabel,"éáöü") or set_label (aLabel, w_sprintf ( "éáöü","%s" ))
I see after run: éáöü
What can I do?
wxWidgets (the toolkit that wxEuphoria wraps) does not use UTF-8 directly. On Windows, it uses UTF-16, and on Linux, UTF-32 (the native encoding for the respective OS). There are conversion routines:
Matt