help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] emacs flyspell not understands well accented chars


From: Kai Großjohann
Subject: Re: [newbie] emacs flyspell not understands well accented chars
Date: Mon, 02 Jun 2003 10:21:57 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

"Eli Zaretskii" <eliz@elta.co.il> writes:

> I suspect this is because your locale sets Emacs up to use Latin-9
> encoding, while Ispell's dictionary is encoded in Latin-1.  Current
> released versions of Emacs see Latin-1 and Latin-9 as different
> characters, sigh...

It's fairly easy to fool ispell.  I use the following kludge:

(require 'ispell)
(add-to-list 'ispell-local-dictionary-alist
             '("ndeutsch8-15"
               "[a-zA-Z\xf44\xf56\xf5c\xf5f\xf64\xf76\xf7c]"
               "[^a-zA-Z\xf44\xf56\xf5c\xf5f\xf64\xf76\xf7c]"
               "[']" t
               ("-C" "-d" "ndeutsch")
               "~latin1" iso-8859-15))

I took the ndeutsch8 entry and modified it slightly.  Note that the
next-to-last item still says "~latin1", and the ispell dictionary
name still says "ndeutsch", but the last item in the list is now
iso-8859-15 instead of iso-8859-1.
-- 
This line is not blank.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]