Ed, I hope we can have a coherent thread with my new mail address. I could not 
reply, so the conversation is fragmented right now.

I find no improvement  with the new file 'settings_override.py' in demo folder.
As I said to Hraban, I have tested my programs with UTF-8 and they also worked 
ok, I will use this coding in them from now on, instead of latin-1.
I'm using an unicode wxPython, and dEditBox runs fine. I think it must be 
something inside dTextBox. 
When I enter this lowercase letter: http://en.wikipedia.org/wiki/%C3%81 , I get:

File "C:\Python25\DABO\demo\samples/dTextBox.py", line 56, in onTextKeyChar
    cd, ch = evt.keyCode, evt.keyChar
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 0:
ordinal not in range(128)

By the way, I'm only using DaboDemo.py now, not mixing with other python
code.

melkarth

--------------------------------------------------
From: "Ed Leafe" <[email protected]>
Sent: Thursday, May 19, 2011 2:09 PM
To: <[email protected]>; "Dabo Users list" <[email protected]>
Subject: Re: [dabo-users] Reenv:  Problem in Dabo demo

> On May 19, 2011, at 7:02 AM, [email protected] wrote:
>
>> Version info:
>> Platform: Win
>> Python Version: 2.5.4 on win32
>> Dabo Version: Version 0.9.3;
>> Revision ~6449
>> UI Version: 2.8.10.1 on wxMSW (--->
>> wxPython2.8-win32-unicode-2.8.10.1-py25.exe)
>
>
> Your versions look fine. I saw that you are using latin-1 encoding; the
> default for Dabo is utf-8. One thing to try is to create a file in the
> 'demo' directory named 'settings_override.py', and in it simply have the
> line
>
> defaultEncoding = "latin-1"
>
> This will, as the filename suggests, override the default setting for
> encoding and tell it to use latin-1 instead. See if that makes a
> difference.
>
>
>
> -- Ed Leafe
>
>
>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/4B4F5973604F4A8FB389461AA6220DCE@Informatica2

Reply via email to