On Apr 18, 2012, at 9:28 AM, Zdravko Subakov wrote:

> I am strugling with unicode strings.
> 
> It is the modified version of PyCon Hello World simple form, but as soon as I 
> introduced unicode characters in strings Dabo (Python) always get stuck and 
> in cmd window I can see Unicode Encode Error: 'ascii' codec can't encode 
> chracter u'\u017d' in position 154: ordinal not in range(128)
> here is the code

        Your code ran without error on my system. In fact, if I remove the 
encode call and just use:

tekst = "Pozdrav Ž"

...it works fine, too. Maybe you have the ANSI version of wxPython installed? 
Can you run any Dabo app, and select the Help/About menu, copy the system 
information, and then paste it into your reply?


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to