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).
X
Xiang Zhang committed
d04d8474dfde5ed584a51a43d3d177376a98fb58
Parent: 726a57d