Message17517
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:15:34 | admin | link | issue780725 messages |
2007-08-23 14:15:34 | admin | create | |
|