A Qt object bases on Qt4 and runs on CentOS 7.
I get a QString file directory from getExistingDirectory
. File name contains Chinese characters. Then I use toLocal8Bit
to convert it to char
, and the char
variable occurs messy code.
I tried QTextCodec
with GBK, big5 and so on, there is no progress.