ttk.Label unicode characters
Ben <[email protected]> Sat, 19 Jan 2019 20:07:07 -0500
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <1547946427.2245170.1638989256.2B81E47E@webmail.messagingengine.com> |
Hi, Is there any way to make a Label display every Unicode character, or are we just stuck until Tcl/Tk fully supports all of unicode? Here's my example code: import tkinter as tk from tkinter import ttk root = tk.Tk() ttk.Label(root, text='Test \U0001d306 String').grid(row=0, column=0) root.mainloop() And the exception: _tkinter.TclError: character U+1d306 is above the range (U+0000-U+FFFF) allowed by Tcl System: Linux, Python 3.6.7, Tk 8.6 Is there anything I can do to be able to display that character? Thanks for any pointers. -Ben