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

Sugguestion: add a "strict mode" for QString::fromUtf8

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None

    Description

      I would like to see an option for the QString::fromUtf8 methods that would fail (e.g. return -1, or throw an exception or what have you) on an input stream of bytes that was not valid UTF-8.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            bjmgeek Brian Minton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes