Characters in Python
Jan Sundström
jansun at home.se
Thu Jun 5 19:03:05 EDT 2003
More information about the Python-list mailing list
Thu Jun 5 19:03:05 EDT 2003
- Previous message (by thread): Characters in Python
- Next message (by thread): Characters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jansun at home.se (Jan Sundström) wrote in message news:<aaf09156.0306050423.21b45f6 at posting.google.com>... > >>> str = 'åäö' > UnicodeError: ASCII encoding error: ordinal not in range(128) I should have mentioned that I tried the unicode approach too but it didn't work. This is what I get: Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. IDLE 0.8 -- press F1 for help >>> theStr = u"Åäö" UnicodeError: ASCII encoding error: ordinal not in range(128) >>>
- Previous message (by thread): Characters in Python
- Next message (by thread): Characters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list