使用eric6生成对话框代码的时候提示编码错误
pyqt吧
全部回复
仅看楼主
level 13
学点编程吧😄
楼主
<type 'exceptions.UnicodeEncodeError'>:
'ascii' codec can't encode characters in position 9-13: ordinal not in range(128)
不知道各位遇到过这个问题没有。
我在用Qt designer的时候,里面没有任何中文,但是生成的ui文件是放在中文的目录里面的结果就出现这个错误。
后经多次试验,确认放到英文的目录里面就没有这个问题了。
经验供参考吧!
2016年12月27日 15点12分
1
level 13
学点编程吧😄
楼主
https://tieba.baidu.com/f?kw=
学点编程&fr=index#sub
这个是我的贴吧 ,有兴趣可以关注
2016年12月27日 15点12分
2
1