[Python-bugs-list] [ python-Bugs-774536 ] UnicodeError

SourceForge.net noreply@sourceforge.net
Sun, 20 Jul 2003 07:15:55 -0700


Bugs item #774536, was opened at 2003-07-20 13:59
Message generated for change (Comment added) made by lemburg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=774536&group_id=5470

Category: Parser/Compiler
Group: Python 2.2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Peternell (mpeti)
Assigned to: Nobody/Anonymous (nobody)
Summary: UnicodeError

Initial Comment:
>>> c = "Österreich"
UnicodeError: ASCII encoding error: ordinal not in
range(128)

the parser must not consider the German language an error.
the same for French:

>>> c = "Kate Ryan - Désenchantée"
UnicodeError: ASCII encoding error: ordinal not in
range(128)

I think this behavior was INTENDED, or why did the
error message say "ordinal not in range(128)"? This is
not an error. It is intended that bytes have 8 bits and
not 7.

I hope you don't reject this bug.

Michael

----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2003-07-20 16:15

Message:
Logged In: YES 
user_id=38388

Are you sure about this ?

/home/lemburg> python2.2
Python 2.2.3 (#1, Jul  1 2003, 10:54:49) 
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.

>>> c = "Österreich"
>>> 

Same for Python 2.3.

Perhaps you have change something in your site.py file ?!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=774536&group_id=5470