Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35699

QFtp class: QUrlInfo::name () returns incorrect file name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 4.7.1
    • Network: FTP
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shkearns Shane Kearns
            igor-0013 Igor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes