QLineEdit的setText()方法中文显示乱码 需加上QtCore.QTextCodec.setCodecForCStrings(QtCore.QTextCodec.codecForName('utf-8'))
QLineEdit
setText()
QtCore.QTextCodec.setCodecForCStrings(QtCore.QTextCodec.codecForName('utf-8'))
Powered by Jekyll and Theme by solid