|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |