Re: Spelling of non-ascii characters
Kevin Atkinson <[email protected]>
| Newsgroups | gmane.comp.gnu.aspell.user |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user