[Python-Dev] Can't decode \x876F character encoded in Shift JIS charset ?
"Martin v. Löwis"
martin at v.loewis.de
Thu Feb 7 23:06:56 CET 2008
> UnicodeDecodeError: 'shift_jis' codec can't decode bytes in position
> 0-1: illegal multibyte sequence
As Amaury says, this is CP932 and Shift-Jis-2004, but not Shift-Jis.
The IBM database must be incorrect: it lists as "all aliases" both
csShiftJIS and csWindows31J, yet, according to
http://www.iana.org/assignments/character-sets
they are different (MIBEnum 17 vs MIBEnum 2024).
Regards,
Martin
More information about the Python-Dev
mailing list