This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Viscaynot
Recipients Viscaynot
Date 2007-09-03.03:36:47
SpamBayes Score 0.0193205
Marked as misclassified No
Message-id <>
When trying the tutorial example about unicode  I have:
>>> "Äpfel".encode('utf-8')
  File "<stdin>", 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 "<stdin>", line 1
but the indentation "     >>>" is new for me, so I attempt the next:
>>> a="Äpfel".decode('latin-1).encode('utf-8')
  File "<stdin>", line 1
    >>> a
>>> print (a)

Is this necessary to do correction to the tutorial? is this normal the 
presence of "   >>>" that appears indented once I assign the value to 
variable a?
Date User Action Args
2007-09-03 03:36:47Viscaynotsetspambayes_score: 0.0193205 -> 0.0193205
recipients: + Viscaynot
2007-09-03 03:36:47Viscaynotsetspambayes_score: 0.0193205 -> 0.0193205
messageid: <>
2007-09-03 03:36:47Viscaynotlinkissue1092 messages
2007-09-03 03:36:47Viscaynotcreate