GNUAspell / aspell

http://aspell.net
GNU Lesser General Public License v2.1
243 stars 52 forks source link

aspell-import of Latin-1 encoded files #509

Open aspell-helper opened 11 years ago

aspell-helper commented 11 years ago

Jean-Didier G jean-didier\@sf created a feature request on 2013-01-09 18:57:43 UTC (Orig. from https://sourceforge.net/p/aspell/feature-requests/71)

Hi, I tried using the aspell-import command on an old ispell (french) file. The import complained on each accentuated word, with e.g : Error: The word "polym?re" is invalid. The character '?' (U+3F) may not appear in the middle of a word.

After converting my file .ispell_francais to utf-8 (using "cat .ispell_francais |recode latin1"), the import went perfectly.

Is it possible to make the encoding detection and conversion within the perl script? If not, you may want to add the "encode" hint on the doc page (http://aspell.net/man-html/Using-aspell_002dimport.html#Using-aspell_002dimport )

Thanks for the command, by the way. JD

aspell-helper commented 11 years ago

Jean-Didier G jean-didier\@sf commented on 2013-01-09 18:57:46 UTC

an example french ispell in latin-1 encoding .ispell_francais