Home > other >  A very strange question, QDir: : entryInfoList () can't traversal path in Chinese...
A very strange question, QDir: : entryInfoList () can't traversal path in Chinese...

Time:03-02

Have Chinese path:/home/folder, including file: 1, 2, new file 1, 2 new files, in a QDir: : entryInfoList traverse ()/home/folder in the file, the new file 1 and 2 cannot traverse to the new file, what exactly is this problem? A character encoding problem? Bother everybody to give an idea, thank you!

CodePudding user response:

Parentheses in parameter QDir: : dirOnly or QDir: : fileOnly but I can and use it every time

CodePudding user response:

This can't, should you program there is a problem

CodePudding user response:

Should be a character encoding has changed after the problems; Now in c to implement file directory traversal,

CodePudding user response:

I also met the same problem, do not know how to solve?
  • Related