wxPython and Croatian characters

vedrandekovic at gmail.com vedrandekovic at gmail.com
Mon Feb 16 19:58:27 CET 2009


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"


More information about the Python-list mailing list