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

QUrl documentation on "Tips to avoid erroneous character conversion when dealing with URLs and strings" should be in "Detailed Description" instead of its current place

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.x
    • 4.7.3
    • Documentation
    • None
    • b3922d06680c04324cecd0e0219d02c52b8cf7fd

    Description

      At QUrl::fromUserInput documentation:
      http://doc.qt.nokia.com/4.7/qurl.html#fromUserInput

      It is explained:
      "
      ...
      Tips to avoid erroneous character conversion when dealing with URLs and strings:

      • When creating an URL QString from a QByteArray or a char*, always use QString::fromUtf8().
      • Favor the use of QUrl::fromEncoded() and QUrl::toEncoded() instead of QUrl(string) and QUrl::toString() when converting QUrl to/from string.
        ...
        "

      This is important enough to be in the "Detailed Description" section:
      http://doc.qt.nokia.com/4.7/qurl.html#details

      instead of its current place.

      Attachments

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

        Activity

          People

            boddie David Boddie (Inactive)
            tanty Andres Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes