commit | 2f197078fbd04c1df8c77798f7a257537de53aa6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sat Dec 17 07:08:30 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sat Dec 17 07:08:30 2011 +0100 |
tree | 83ae7770a5a9fdbc82ebb4128d5c56d51bac686b | |
parent | 1b57967b96daeb505e9d2dbe3cd347625dcb0739 [diff] |
The locale decoder raises a UnicodeDecodeError instead of an OSError Search the invalid character using mbrtowc().