[Pkg-postgresql-public] Bug#689997: Bug#689997: iconv: illegal input sequence at position 86 ERROR: Conversion of /usr/share/hunspell/hu_HU_u8.aff failed

Christoph Berg myon at debian.org
Wed Jan 29 18:02:57 UTC 2014


clone 689997 -1
reassign -1 myspell-hu
tags -1 - wontfix
severity -1 wishlist
retitle -1 Affix files shouldn't use 8bit chars for rules
block 689997 by -1
thanks

Re: Martin Pitt 2014-01-29 <20140129145548.GA3409 at piware.de>
> > The comments will be fixed to be UTF-8 encoded, but the file will still
> > contain 8 bit characters which will make iconv fail.
> >
> > The files are valid affix files, processing them using iconv is not
> > expected to result success and a valid affix file.
> 
> I'm afraid I'm between a rock and a hard place then. PostgreSQL's
> tsearch requires the affix files to be UTF-8 encoded, hence my attempt
> to convert them using iconv. It doesn't break the package install, you
> just get that error message and Hungarian stemming is then just not
> available.

IMHO the real problem is in the weird usage of 8bit characters in
upstream's .affix file. Instead of using

... /<FF>...
SFX <FF> ...

they should just pick some ascii char in place of <FF>.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20140129/6f0e2b44/attachment.sig>


More information about the Pkg-postgresql-public mailing list