aspell-user
[Top][All Lists]
Advanced

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

Re: [Aspell-user] Spelling of non-ascii characters


From: Kevin Atkinson
Subject: Re: [Aspell-user] Spelling of non-ascii characters
Date: Wed, 18 Jun 2008 01:43:14 -0600 (MDT)

On Wed, 18 Jun 2008, Mads Ipsen wrote:

1. Create extra (supplemental) dictionary:

~  aspell --lang=en create master ./wordlist.bin < wordlist.txt

where wordlist.txt in an ordinary ascii (text) file. If wordlist.txt
contains the word "Ångström", the above command generates the warning:

~  Warning: The word "�ngström" is invalid. The character '?' (U+85)
may not appear in the middle of a word. Skipping word.

It looks like you are giving it UTF-8 encoded input, while Aspell expects iso-8859-1. Adding "--encoding=utf-8" so that you have:

aspell --lang=en --encoding=utf-8 create master ./wordlist.bin < wordlist.txt

Should fix the problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]