[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] Spelling of non-ascii characters
From: |
Mads Ipsen |
Subject: |
Re: [Aspell-user] Spelling of non-ascii characters |
Date: |
Wed, 18 Jun 2008 11:19:37 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080421) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin Atkinson wrote:
| 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.
It sure did - thanks a lot for helping out!
Best regards, Mads
- --
+---------------------------------+-------------------------+
| Mads Ipsen | |
| Product Support Specialist | phone: +45-35320630 |
| Atomistix A/S | fax: +45-35320635 |
| Juliane Maries Vej 30 | |
| DK-2100 Copenhagen | address@hidden |
+---------------------------------+-------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIWNMpUiXEzEUa8LARAhrlAJ49gbNdnDbI2x6dWgKDQEv2YR/BFwCeNCC+
L3Q09jcBoFsOuca/WkklWNU=
=f63t
-----END PGP SIGNATURE-----