[prev in list] [next in list] [prev in thread] [next in thread]
List: aspell-user
Subject: Re: [Aspell-user] Spelling of non-ascii characters
From: Mads Ipsen <mpi () atomistix ! com>
Date: 2008-06-18 9:19:37
Message-ID: 4858D329.7000104 () atomistix ! com
[Download RAW message or body]
-----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 | mpi@atomistix.com |
+---------------------------------+-------------------------+
-----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-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic