Re: Spelling of non-ascii characters

Mads Ipsen <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
-----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              | [email protected]       |
+---------------------------------+-------------------------+
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.