Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568488 - =app-dicts/myspell-en-20151201: Invalid encoding name in in en_US and en_CA dictionaries
Summary: =app-dicts/myspell-en-20151201: Invalid encoding name in in en_US and en_CA d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Elizabeth Myers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 22:58 UTC by Daniel Scharrer
Modified: 2016-06-24 16:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Scharrer 2015-12-16 22:58:14 UTC
The en_US.aff and en_CA.aff dictionaries define their encoding as "SET UTF8" while hunspell expects "SET UTF-8". The other dictionaries in the package (en_AU, en_GB, en_ZA) use the correct syntax.

Reproducible: Always

Steps to Reproduce:
echo "Hello world!" | LANG="en_US.utf-8" hunspell
Actual Results:  
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback
Hunspell 1.3.3
*
*

Expected Results:  
No errors.

$ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
deutsch
en_DK.utf8
en_US
en_US.iso88591
en_US.utf8
german
POSIX

Changing the two affected .aff files to use "SET UTF-8" fixes the issue.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-12-17 16:21:25 UTC
This should probably go upstream.
Comment 2 Elizabeth Myers 2016-03-05 01:44:01 UTC
This should be an upstream bug. I will consider a patch to the dictionary files, if possible.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-06-24 16:02:16 UTC
This is fixed in 20160201.