[issue1092] Unexpected results in Tutorial about Unicode

2007-09-04 Thread Georg Brandl
Georg Brandl added the comment: OK, closing. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-l

[issue1092] Unexpected results in Tutorial about Unicode

2007-09-04 Thread Vizcaynot
Vizcaynot added the comment: Thanks about the fixing info. In relation to the second issue, I am afraid it is my fault, the value of variable "a" was asigned and filled with a previous valid operation. Please forgive me for the time you spent unnecessarily. I will attempt to be careful in the

[issue1092] Unexpected results in Tutorial about Unicode

2007-09-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: The first issue (non-ASCII characters won't work in interactive mode) was reported as issue 1100 also, and is now fixed in r57957. As for the other issues, I'm not quite sure what to make out of them - I see a different behavior: py> "Äpfel".decode('latin-1).e

[issue1092] Unexpected results in Tutorial about Unicode

2007-09-03 Thread Georg Brandl
Georg Brandl added the comment: Vizcaynot schrieb: > New submission from Vizcaynot: > > When trying the tutorial example about unicode I have: "Äpfel".encode('utf-8') > File "", line 1 > SyntaxError: (unicode error) unexpected code byte This is definitely a bug. Assigning to Martin to i

[issue1092] Unexpected results in Tutorial about Unicode

2007-09-02 Thread Vizcaynot
New submission from Vizcaynot: When trying the tutorial example about unicode I have: >>> "Äpfel".encode('utf-8') File "", line 1 SyntaxError: (unicode error) unexpected code byte I live in a latin american country so I need to do: >>> "Äpfel".decode('latin-1).encode('utf-8') File "", line