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

BOM is not preserved if string is converted

XMLWordPrintable

    • Linux/X11, Windows

      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.

        1. qtbug115291.zip
          3 kB
          Irfan Omair
        2. QString Bug Debug.png
          77 kB
          Irfan Omair
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes