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

Bug#979439: hunspell-it: Italian spell check cannot recognize simple words



Hi again,

Am 13.01.21 um 20:59 schrieb Rene Engelhard:
> Am 13.01.21 um 19:43 schrieb Antonio:
>> I solved it by changing this line of the file
>> "/usr/share/hunspell/it_IT.aff":
>>
>> --- it_IT.aff.orig.bad  2021-01-13 19:28:38.184457124 +0100
>> +++ it_IT.aff.new.ok   2021-01-13 19:38:06.141194317 +0100
>> @@ -36,7 +36,7 @@
>>  LANG it_IT
>>  HOME https://libreitalia.org
>>  VERSION 5.1.0 (13/10/2020)
>> -SET UTF-8
>> +SET ISO8859-15
>>  TRY
>> aioertnsclmdpgubzfvhàq'ACMSkBGPLxEyRTVòIODNwFéùÚìjUZKHWJYQXÃÃÃÃÃÃ
>>  # Nota: non presenti nel dizionario: ÃÃÃÃÃÃ, vanno aggiunte alla TRY
>> rigenerata
>>
> Interesting.
>
> rene@frodo:~/LibreOffice/git/master/dictionaries/it_IT$ file it_IT.aff
> it_IT.aff: UTF-8 Unicode text
> rene@frodo:~/LibreOffice/git/master/dictionaries/it_IT$ file it_IT.dic
> it_IT.dic: ISO-8859 text
> $
>
>
> Someone wasn't able to decide ;-). I'd argue that UTF-8 is the future
> and that would possible mean a simply recode of it_IT.dic to UTF-8
> should also fix it?

In a quick try here with the UDHR in Italian as suggested by the
reporter a simple

$ sudo recode ISO8859-15...UTF-8 /usr/share/hunspell/it_IT.dic

makes it work indeed.


Regards,


Rene


Reply to: