[ python-Bugs-1378022 ] source utf8

SourceForge.net noreply at sourceforge.net
Thu Dec 15 07:00:11 CET 2005


Bugs item #1378022, was opened at 2005-12-10 22:48
Message generated for change (Settings changed) 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: None
Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: zhao (ibear)
Assigned to: Nobody/Anonymous (nobody)
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: 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