Hello, was solved with the following lines into the main program.
import sys
import os
import dabo
reload(sys)
sys.setdefaultencoding('utf-8')
Thank you all.
El 05/03/2012 02:58 p.m., Jacek Kałucki escribió:
> Użytkownik STyler napisał:
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 0:
>> ordinal not in range(128)
>
> Two general rules:
> 1) your *.py files should start with encoding declaration line, e.g.
> # -*- coding: utf-8 -*-
> # replace utf-8 with desired encoding
> 2) strings with national characters should be defined as
> u"ąłśćźćńżź".
>
> I hope it helps.
_______________________________________________
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]