Bug#828763: hunspell-eu: wrong character encoding for eu.dic: ISO-8859 instead of UTF-8

2016-06-30 Thread Agustin Martin
On Tue, Jun 28, 2016 at 03:16:19PM +0200, Agustin Martin wrote:
> 
> I have opened an issue upstream (http://xuxen.eus), but in the meantime I am
> reverting .aff to ISO-8859-1, which should work similarly if locale is 
> properly 
> declared. Depending on upstream reply I may prepare a new tarball.

Hi,

Just some extra info.

Upstream is doing some changes in the dictionary including a fix for this
encoding issue, with UTF-8 set as default encoding everywhere.

Regards,

-- 
Agustin



Bug#828763: hunspell-eu: wrong character encoding for eu.dic: ISO-8859 instead of UTF-8

2016-06-28 Thread Agustin Martin
On Mon, Jun 27, 2016 at 04:56:43PM +0200, Sebastien Ducoulombier wrote:
> Package: hunspell-eu
> Version: 0.5.20151110-1
> Severity: normal
> 
> Dear Maintainer,
> 
> 
> With LC_ALL=eu_FR.UTF-8, starting lowriter in a terminal, I noticed many
> of these lines :
> 
>  This UTF-8 encoding can't convert to UTF-16:
> 
> And then :
> 
>  error: line 143841: 0 is wrong flag id

Hi, thanks for the info,

I do not get those messages once added and set the eu_FR.UTF-8 locale, but
spellchecking of words containing "ñ" fails, all them are tagged as
misspellings.

I have opened an issue upstream (http://xuxen.eus), but in the meantime I am
reverting .aff to ISO-8859-1, which should work similarly if locale is properly 
declared. Depending on upstream reply I may prepare a new tarball.

Regards,

-- 
Agustin



Bug#828763: hunspell-eu: wrong character encoding for eu.dic: ISO-8859 instead of UTF-8

2016-06-27 Thread Sebastien Ducoulombier
Package: hunspell-eu
Version: 0.5.20151110-1
Severity: normal

Dear Maintainer,


With LC_ALL=eu_FR.UTF-8, starting lowriter in a terminal, I noticed many
of these lines :

 This UTF-8 encoding can't convert to UTF-16:

And then :

 error: line 143841: 0 is wrong flag id

I changed the character encoding of the eu.dic file
(as root, I opened /usr/share/hunspell/eu.dic with vim and typed
 :set fileencoding=utf-8
and then
 :wq
).

Now starting lowriter from a terminal does not show these errors
anymore.

Please re-encode eu.dic in the UTF-8 encoding as it seems to be expected
by LibreOffice.

It might need changing the "Coding-System" field in
/var/lib/dictionaries-common/hunspell/hunspell-eu