[ python-Bugs-1378022 ] source utf8

SourceForge.net noreply at sourceforge.net
Tue Feb 21 10:20:19 CET 2006


Bugs item #1378022, was opened at 2005-12-10 22:48
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1378022&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: Python 2.4
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: zhao (ibear)
Assigned to: Neal Norwitz (nnorwitz)
Summary: source utf8

Initial Comment:
winxp sp2(chinese or japanese) and python 2.42

i have created a utf8 source file with BOM_UTF8

if i add a '#coding: utf8' at first line and run it,
the python interpreter will crash

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-02-21 01:20

Message:
Logged In: YES 
user_id=33168

Committed revision 42537. (2.4)


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

Comment By: Neal Norwitz (nnorwitz)
Date: 2005-12-17 22:03

Message:
Logged In: YES 
user_id=33168

Thank you for the bug report.

Committed revision 41753.


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

Comment By: Neal Norwitz (nnorwitz)
Date: 2005-12-17 21:29

Message:
Logged In: YES 
user_id=33168

Thank you for the bug report.

Committed revision 41753.


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

Comment By: Walter Dörwald (doerwalter)
Date: 2005-12-12 06:35

Message:
Logged In: YES 
user_id=89016

The following patch (pythonrun.diff) should fix the
segfault. However UTF-8 files with a leading BOM currently
aren't supported. There's a pending patch
(http://bugs.python.org/1177307) that adds a utf-8-sig codec
for that.

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

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


More information about the Python-bugs-list mailing list