We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some language names do not display correctly.
qtspell-0.8.5
gImageReader-3.3.0
gimagereader-qt5
hunspell-*
hunspell-oc
OCR mode
Plain text
Recognize all
Languages
Occitan (post 1500); Proven�al
Occitan (post 1500); Provençal
Conversion to Latin1 causes loss of information about some characters.
qtspell/src/Codetable.cpp
Line 80 in 17a588f
Line 92 in 17a588f
You should replace these lines:
name = QString::fromUtf8(dgettext(ISO_639_DOMAIN, name.toLatin1().data()));
name = QString::fromUtf8(dgettext(ISO_3166_DOMAIN, name.toLatin1().data()));;
with these:
name = QString::fromUtf8(dgettext(ISO_639_DOMAIN, name.toUtf8().constData()));
name = QString::fromUtf8(dgettext(ISO_3166_DOMAIN, name.toUtf8().constData()));
or these:
name = QString::fromLocal8Bit(dgettext(ISO_639_DOMAIN, name.toLocal8Bit().constData()));
name = QString::fromLocal8Bit(dgettext(ISO_3166_DOMAIN, name.toLocal8Bit().constData()));
https://github.com/scx/flathub/blob/030990011b8622d86a478a3314c33592b2539aae/qtspell-0.8.5-utf8.patch Pull request on the way.
This bug report is related to submitting my flatpak package to the Flathub repository. manisandro/gImageReader#396 flathub/flathub#810
The text was updated successfully, but these errors were encountered:
Use UTF-8 encoding instead of Latin-1
2e9e258
Closes manisandro#8
Pull request (closes this bug): #9
Sorry, something went wrong.
Merge pull request #9 from scx/master
f7d172b
Use UTF-8 encoding instead of Latin-1. Closes #8
No branches or pull requests
Description of problem:
Some language names do not display correctly.
Version-Release number of selected component:
qtspell-0.8.5
gImageReader-3.3.0
(Qt version)Steps to Reproduce (Fedora 29):
gimagereader-qt5
.hunspell-*
, or at leasthunspell-oc
.gimagereader-qt5
.OCR mode
:Plain text
.Recognize all
.Languages
.Actual results:
Occitan (post 1500); Proven�al
Expected results:
Occitan (post 1500); Provençal
Additional info:
Conversion to Latin1 causes loss of information about some characters.
qtspell/src/Codetable.cpp
Line 80 in 17a588f
qtspell/src/Codetable.cpp
Line 92 in 17a588f
Explanation:
You should replace these lines:
with these:
or these:
Temporary solution:
https://github.com/scx/flathub/blob/030990011b8622d86a478a3314c33592b2539aae/qtspell-0.8.5-utf8.patch
Pull request on the way.
This bug report is related to submitting my flatpak package to the Flathub repository.
manisandro/gImageReader#396
flathub/flathub#810
The text was updated successfully, but these errors were encountered: