On Feb 16, 10:58 am, vedrandeko...@gmail.com wrote: > Hello, > > I have problem with configuring my wxPython script to work with > Croatian characters like: ð,¹,¾,è,æ. > Here is my simple script without wxPython (this script works): > > # -*- coding: utf-8 -*- > s = "hello normal string ð¹¾æè" > print s > > ..here is my snippet with wxPython: > > text = wx.StaticText(self, -1,"Matièni broj",(0,100)) # in this > example,we have character "è" > > ...when I run this text, it looks something like: "Mati",some weird > characters ,and "ni" > > Regards, > John
You may be using an ANSI build of wxWidgets instead of a unicode one. Make sure to enable Unicode when you run ./configure, or if in Windows, uninstall and download the win32-unicode version of the wxPython you want. -- http://mail.python.org/mailman/listinfo/python-list