Re: [dabo-users] Unicode Encode Error

Author: Zdravko Subakov

Posted: 2012-04-20 at 16:07:39

If by app dir you ment directory where the Hello World app reside I did

that, but the result is the same error.

Z.

----- Original Message -----

From: "Ed Leafe" <ed@leafe.com>

To: "Dabo Users list" <dabo-users@leafe.com>

Sent: Friday, April 20, 2012 10:51 PM

Subject: Re: [dabo-users] Unicode Encode Error

> 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: Dabo-users@leafe.com

> 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/904FCE2B-9FE4-4609-A5F9-0CDE96119704@leafe.com

>

_______________________________________________

Post Messages to: Dabo-users@leafe.com

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/0237FF6337554C3AA70E56AF3DAF401B@Perajoe

©2012 Zdravko Subakov