Details
-
Bug
-
Resolution: Unresolved
-
P5: Not important
-
None
-
4.7.1
-
None
-
Windows XP Professional x64 Edition SP2; Windows XP SP3; Windows 8.1 x32
Description
I tried to list the contents of a directory on a FTP server using the QFtp class. Every time I received the QFtp::listInfo signal I couldn't get correctly a file name through QUrlInfo::name() if the file name ended with uppercase Cyrillic letter 'Р' ( QChar(208) and QChar(160) ). In this case QUrlInfo::name() returned the QString object which ended with only QChar(208) ( QChar(160) was lost ), so it was impossible to use the received file name further. The FTP server used the UTF-8 codec.