問題描述
當我使用 Windows 鍵盤(在語言欄中)鍵入 非 ASCII
字符時,我會在非 ASCII 字符所在的位置出現問號 ?
.
When I type non-ASCII
characters using a Windows keyboard (in the language bar), I get question marks ?
where the non-ASCII characters should go.
復制和粘貼工作正常,Unicode 字符顯示在 Text
小部件中.
Copy-and-paste works fine and the Unicode characters are displayed in the Text
widget.
我正在使用 Lakota All-In-One 鍵盤
找到 這里.此特定鍵盤列在 US
區域設置下的 Windows 語言欄 中.
I am using the Lakota All-In-One keyboard
found here. This particular keyboard is listed in the Windows language bar under the US
locale.
推薦答案
TkInter 對特殊字符似乎不太好,尤其是在 Fedora 上.我看過幾十個這樣的帖子.您最好的選擇可能是使用另一個 GUI 庫,例如 PyFLTK(我最喜歡的),GTK+ 3(我的第二個最愛),PyQt, PySide, wxPython, Kivy等
TkInter doesn't seem too good with special characters, especially on Fedora. I've seen dozens of posts like this. Your best bet might be to use another GUI library, like PyFLTK(my favorite), GTK+ 3(my second favorite), PyQt, PySide, wxPython, Kivy, etc.
這篇關于當我使用 Windows 鍵盤鍵入非 ASCII 字符時,我得到“?"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!