On Apr 20, 2012, at 3:19 PM, Zdravko Subakov wrote:
> "C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\lib\eventMixin.p
> y", line 81, in raiseEvent
> bindingFunction(event)
> File "editor.py", line 905, in onRunScript
> f.write(txt)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u017d' in
> position 1
> 53: ordinal not in range(128)
I think that the problem is that Dabo is defaulting to UTF8, while your
system is configured for CP1250.
Try this (in addition to Paul's suggestion): create a file in your app
directory named 'settings_override.py', and in it include a single line:
defaultEncoding = 'cp1250'
Let us know if that makes a difference.
-- 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]