[issue17156] Tools/i18n/pygettext.py doesn't parse unicode string.

umedoblock report at bugs.python.org
Sat Feb 9 01:19:27 CET 2013


umedoblock added the comment:

thanks serhiy.storchaka.
I try to use Shift_JIS, UTF-8, ISO-2022-JP and EUC-JP.

your patch detects UTF-8.

However it doesn't detect Shift_JIS, ISO-2022-JP and EUC-JP.
it misunderstand ISO-2022-JP charset is UTF-8.
it raised UnicodeDecodeError when Shift_JIS, EUC-JP.

Please check my test to use konnichiha.sh.

----------
Added file: http://bugs.python.org/file29009/konnichiha.tar.gz

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17156>
_______________________________________


More information about the Python-bugs-list mailing list