STINNER Victor added the comment:

> TESTFN_UNDECODABLE is not detected for cp1250, cp1251, cp1252, cp1254, cp1257 
> and cp1258.

The Python encoding and the real codec used by Windows are different: Python 
fails to decode bytes 0x80-0x9f, but Windows does decode them. I prefer to 
avoid these bytes to not rely too much on the Python codec.


Python tracker <>
Python-bugs-list mailing list

Reply via email to