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

GBK encoding is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • Core: Locales (i18n)
    • None

    Description

      Using Qt 4.7 beta 2 from Kubuntu loading a text file or webpage in GBK encoding is broken.

      For examples?wd=%D0%C2+%CE%C5 shows nonsense characters in Konqueror. If I change the encoding to GB18030 it shows correctly. Change back to GBK and it's broken.

      http://www.baidu.com/ works correctly, loading that page it is set to GB2818 in HTML headers and shows correctly.

      Similarly in Kate text files in chinese load correctly when opening in GB18030 but with nonsense characters when loading in GBK.

      Attachments

        1. chinese.txt
          0.0 kB
        2. test.html
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            biochimia João Abecasis
            jriddell Jonathan Riddell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes