Author ishimoto
Recipients
Date 2003-07-31.09:11:29
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
If a source file contains encoding definition and it has 
syntax errors,
Python prints line of source file in utf-8.
Here's simple example.

# -*- coding: Shift_JIS -*-
print "XXXXX" abcdefg  # "XXXXX" is Japanese ShiftJIS 
string.

With this source file, Python prints a second line as a 
part of error
message in utf-8 encoding. Lines printed here should be 
reconverted into
original encoding. Also, error column that '^' character 
marks is wrong.
History
Date User Action Args
2007-08-23 14:15:34adminlinkissue780725 messages
2007-08-23 14:15:34admincreate