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

qwebengine_convert_dict Cannot encode command 'TRY ...' to utf8.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • WebEngine
    • None
    • Fedora Workstation 40:
      $ rpm -q hunspell-csb qt5-qtwebengine qt6-qtwebengine
      hunspell-csb-0.20190319-4.fc40.noarch
      qt5-qtwebengine-5.15.17-9.fc40.x86_64
      qt6-qtwebengine-6.8.2-1.fc40.x86_64
    • 01dcb46ce (130-based)

    Description

      qwebengine_convert_dict produces the following error when processing the Kashubian hunspell dictionary with the TRY line. Same for qt5-qtwebengine (change path: bin instead of libexec, and qt5 instead of qt6) and qt6-qtwebengine.

      $ /usr/lib64/qt6/libexec/qwebengine_convert_dict /usr/share/hunspell/csb_PL.dic /usr/share/qt6/qtwebengine_dictionaries/csb_PL.bdic
      {{[0306/113058.476241:FATAL:aff_reader.cc(327)] Cannot encode command 'TRY ਀䄊...many more characters...਀�' to utf8.}}
      Trace/breakpoint trap (core dumped)

      $ file /usr/share/hunspell/csb_PL.*
      /usr/share/hunspell/csb_PL.aff: Unicode text, UTF-8 text, with very long lines (27428)
      /usr/share/hunspell/csb_PL.dic: Unicode text, UTF-8 (with BOM) text

      The TRY-line is in /usr/share/hunspell/csb_PL.aff https://src.fedoraproject.org/rpms/hunspell-csb

      Other aff files with TRY-line do not produce the error.

      Attachments

        1. csb_PL.dic
          7.65 MB
        2. csb_PL.aff
          113 kB
        For Gerrit Dashboard: QTBUG-134481
        # Subject Branch Project Status CR V

        Activity

          People

            anualiyas Anu Aliyas
            sobek René Genz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change