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

QTextCodec::codecForName for ISO-8859-16 fails with U_FILE_ACCESS_ERROR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.2.1, 5.4.1
    • None
    • Windows 7 SP1 amd64, Qt 32bit, MSVC2010
      Debian Wheezy amd64, Qt 64bit, GCC 4.7.2

    Description

      QTextCodec documentation states that it supports:
      ISO 8859-1 to 10
      ISO 8859-13 to 16

      I have attached test program where it creates ISO 8859 codecs with various codepages. Here's output:

      5.4.1
      "ISO-8859-1" 0x3c6230
      "ISO-8859-2" 0x3c5cd8
      "ISO-8859-3" 0x3c5818
      "ISO-8859-4" 0x3c6350
      "ISO-8859-5" 0x3c6440
      "ISO-8859-6" 0x3c6530
      "ISO-8859-7" 0x3c66e0
      "ISO-8859-8" 0x3c67d0
      "ISO-8859-9" 0x3c68c0
      "ISO-8859-10" 0x3c69b0
      "ISO-8859-13" 0x3c6aa0
      "ISO-8859-14" 0x3c6bf8
      "ISO-8859-15" 0x3c6ce8
      codecForName: ucnv_open failed ISO-8859-16 U_FILE_ACCESS_ERROR
      "ISO-8859-16" 0x0

      Originally discovered in Qt 5.2.1, but same error in Qt 5.4.1.

      Qt is prebuild, installed using maintenance tool.

      Attachments

        For Gerrit Dashboard: QTBUG-45053
        # Subject Branch Project Status CR V

        Activity

          People

            laknoll Lars Knoll
            talkless Vincas Dargis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes