当我使用Windows键盘键入非ASCII字符时,会显示“?". [英] When I type non-ASCII characters using a Windows keyboard I get "?"
问题描述
当我使用Windows键盘(在语言栏中)键入non-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 keyboard
在此处找到的Lakota All-In-One keyboard
.该特定键盘在
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 (我的最爱), PyQt , PySide , 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字符时,会显示“?".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!