[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864864: hunspell: encoding error when using both en_US and ru_RU distionaries at the same time



I see the same issue with 1.6.2 from buster.

huspell reports a lot of following errors, when Russian and English
are used at the same time.
'error - iconv: ISO8859-1 -> UTF-8'

ISO8856-1 comes probably from en_US dictionary encoding.
I've tried to use Russian and German dictionaries together as well.
The same issue happens. German dictionary is using ISO8859-1 as well.

I converted en_US dictionary to UTF-8 and this fixed my problem.

cp /usr/share/hunspell/en_US.aff  /usr/share/hunspell/en_US.aff.orig
cp /usr/share/hunspell/en_US.dic  /usr/share/hunspell/en_US.dic.orig
iconv --from ISO8859-1 /usr/share/hunspell/en_US.aff.orig > /usr/share/hunspell/en_US.aff
iconv --from ISO8859-1 /usr/share/hunspell/en_US.dic.orig > /usr/share/hunspell/en_US.dic
sed -i /usr/share/hunspell/en_US.aff  's/SET ISO8859-1/SET UTF-8/'


-- 
Best regards,
Andrey Skvortsov

Attachment: signature.asc
Description: PGP signature


Reply to: