[Tkinter-discuss] Unicode range
Vasilis Vlachoudis
Vasilis.Vlachoudis at cern.ch
Mon Jan 4 04:09:48 EST 2021
Hi all,
how can I "replace/strip" unicode characters that are out of the accepted tk range before inserting them to Text()?
File "/usr/lib/python3.6/tkinter/__init__.py", line 3272, in insert
self.tk.call((self._w, 'insert', index, chars) + args)
_tkinter.TclError: character U+1c784 is above the range (U+0000-U+FFFF) allowed by Tcl
Vasilis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/tkinter-discuss/attachments/20210104/2efbdc2d/attachment.html>
More information about the Tkinter-discuss
mailing list