commit | d04d8474dfde5ed584a51a43d3d177376a98fb58 | [log] [tgz] |
---|---|---|
author | Xiang Zhang <angwerzx@126.com> | Wed Nov 23 19:34:01 2016 +0800 |
committer | Xiang Zhang <angwerzx@126.com> | Wed Nov 23 19:34:01 2016 +0800 |
tree | 2ba05d5d6cfb7bf7ebbba6b41010730ef8ed5351 | |
parent | 726a57d45f8606ad5a33f7c6bbd1e8c2f8cfbdef [diff] |
Issue #28774: Fix start/end pos in unicode_encode_ucs1(). Fix error position of the unicode error in ASCII and Latin1 encoders when a string returned by the error handler contains multiple non-encodable characters (non-ASCII for the ASCII codec, characters out of the U+0000-U+00FF range for Latin1).