thegooglecodearchive / luaforwindows

Automatically exported from code.google.com/p/luaforwindows
0 stars 0 forks source link

wxLua is not unicode build #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For example: wxPython has unicode build
On linux version of wxlua UTF8 text displays ok.

Original issue reported on code.google.com by foofight...@gmail.com on 2 Oct 2010 at 3:57

GoogleCodeExporter commented 9 years ago
I can confirm this. Look for example the attached image.
I've changed the encoding of examples/wxlua/dialog.wx.wlua to UTF-8 without BOM 
using Notepad++
Then I changed line 60 to:
celsiusTextCtrl    = AddConverterControl("Κελσίου",    "From &Celsius",  
  ID_CELSIUS_TEXTCTRL,    ID_CELSIUS_BUTTON)
and saved it.
See the program output on in the left of the image.
Then I Undo all changes in the file and changed the Encoding to ANSI
Run the program again results in proper result (right image).

Original comment by petsagou...@gmail.com on 2 Jan 2011 at 5:30

Attachments: