-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.2
-
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), cd4d2612a (dev), 92541f48f (122-based), f07abba99 (6.9.1), 2678ced70 (6.9)
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.