BJörn Lindqvist <[EMAIL PROTECTED]> writes:
>> The unicode string is "quilômetro" (kilometer).
>
> That is, AFAICT, not a Unicode string. It is a normal Python string
It was not Python code. It was a quote in the text. ;-) Calm down, people!
We talk normal English sometimes. :-)
> encoded in your choosen encoding. On my computer using utf8 encoding
> "quilômetro" looks like this:
Same here.
> I think your problem is caused by Kid trying to decode your string
> using the ascii codec:
Why, if it is Unicode coming from the database? And it works on
FastDataGrid (this is from where I cut & paste the text)...
> But you probably want it to use the "utf-8" codec:
It is automatic. All database string instances are UnicodeCol. This comes
from the database and I'm sure it is Unicode.
> import sys
> sys.setdefaultencoding("utf-8")
It is my default. All my system is working in Unicode.
Anyway, this doesn't explain why it worked before and stopped working. There
was no change on my code and the problem happens on *all* forms.
--
Jorge Godoy <[EMAIL PROTECTED]>