Hello, Nicolas Dumazet : > >>> unicode('\x87\x6F', "shift jis") > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > UnicodeDecodeError: 'shift_jis' codec can't decode bytes in position 0-1: > illegal multibyte sequence > > Still, \x87\x6F is a valid Shift-JIS character : > http://demo.icu-project.org/icu-bin/convexp?conv=ibm-943_P15A-2003&b=87&s=MIME#layout, > it is "�L"...
It is possible that the encoding is actually "shift jis 2004" or "cp932", which are both extensions to the original shift jis. Please continue this discussion on comp.lang.python; or fill a bug request. Cheers quand même, -- Amaury Forgeot d'Arc
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com