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

Author: Zdravko Subakov

Posted: 2012-04-21 at 00:54:55

Ok, I commented the codecs open line and put back what was previous the

stuck is here again and the error, so I suppose we should go with codecs.

******************

C:\dabo\ide>python editor.py

Traceback (most recent call last):

File

"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\ui\uiwx\dMenuIte

m.py", line 58, in __onWxHit

self.raiseEvent(dEvents.Hit, evt)

File

"C:\Python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\ui\uiwx\dPemMixi

n.py", line 1045, in raiseEvent

super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,

**kwargs)

File

"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 907, in onRunScript

f.write(txt)

UnicodeEncodeError: 'ascii' codec can't encode character u'\u017d' in

position 1

53: ordinal not in range(128)

******************

Z.

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

From: "Paul McNett" <p@ulmcnett.com>

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

Sent: Saturday, April 21, 2012 1:40 AM

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

> On 4/20/12 3:38 PM, Zdravko Subakov wrote:

>> I changed encoding in utils.py to 1250 but its still L' " instead of Z

>> though I didnt changed back those 2 lines of codecs I introduced, should

>> I

>> try it without codecs?

>

> You should try anything and everything, in a systematic way.

>

> Paul

>

> _______________________________________________

> 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/4F91F3E1.7020801@ulmcnett.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/E56ECB8320E14E90BCC4FFBB462FAC29@Perajoe

©2012 Zdravko Subakov