Author: MELKARTH@terra.es
Posted: 2011-05-19 at 06:59:29
Hello, Hraban
I'm having a little mess here with my mail (couldn't reply to posts directly), so I will try a new mail address next time.
I tried UTF-8 in the code, works fine for me, thanks!
My wxPython installed version is wxPython2.8-win32-unicode-2.8.10.1-py25, so I think it's unicode!
Thank you for your quick reply!
Greetings from Barcelona
melkarth
----Mensaje original----
De: hraban@fiee.net
Fecha: 19/05/2011 11:08
Para: "Dabo Users list"<dabo-users@leafe.com>
Asunto: Re: [dabo-users] Problem in Dabo demo
Am 2011-05-19 um 00:21 schrieb MELKARTH@terra.es:
> Hi! I'm a total novice to Dabo and (almost) to Python.
Welcome!
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position
> 0: ordinal not in range(128)
As Ed said, maybe it’s already fixed, but it might be a problem of an
ASCII-only wxPython.
You absolutely need an Unicode-enabled wxPython!
> I am trying to localize my apps in spanish, so it's not a lot of
> change, but the range of chars is 256.
> In my Python novice code I always write this line: # -*- coding:
> latin-1 -*- (I don't know if it helps).
I would never use 8-bit encodings any more. Better use UTF-8 (or plain
7-bit ASCII).
But anyway, the encoding line must fit your real text encoding - you
should be able to set that in your editor.
Greetlings from Lake Constance!
Hraban
---
https://www.cacert.org (I'm an assurer)
_______________________________________________
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/CABA6149-3009-48EC-AD4D-7E9D5D88A784@fiee.net
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/4191168.858981305802769808.JavaMail.defaultUser@defaultHost