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

BOM is not preserved if string is converted

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      BOM is destroyed if std::string when converted to QString and then back to std::string.

      Attached code and debug screen shot shows this.

      The LE and BE BOM std::strings start out containing their respective BOMs then are loaded into QStrings then converted back to std::strings where the values in the final std::strings are completely different from the original std::string.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes