Serhiy Storchaka added the comment:

This bug can be reproduced on Linux too. Just copy and paste illegal UTF-8 
sequence. I.e. b'\xed\xb2\x80' or b'\xc0\x80'. My patch works with first 
example but failed with second. When change the error handler in 
fromTclStringAndSize() to "replace" it works with all illegal sequences.

----------
assignee:  -> serhiy.storchaka
stage:  -> patch review
Added file: http://bugs.python.org/file31592/tkinter_string_conv_2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to