emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug 130397


From: Geoff Kuenning
Subject: Re: Bug 130397
Date: 08 Jan 2005 18:15:26 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

> If ispell wants utf-8, it's easy enough to convert each input line to
> utf-8 and deal with offsets into that in the event of a mispelling;

Just to clarify: ispell can theoretically handle almost any
instantaneously decodable code that is restricted to byte boundaries.
At the moment, I don't know of a language that has a UTF-8 affix file,
though I imagine that problem will be corrected in the near future.

In particular, if emacs stores stuff internally using a constant-width
encoding, for most languages you could convert that to latin-1, feed
that to ispell, and then generate line offsets with a simple multiply.
-- 
    Geoff Kuenning   address@hidden   http://www.cs.hmc.edu/~geoff/

McDonald's, which does not wait on your table, does not cook your food
to order, and does not clear your table, came up with the slogan ``We
Do It All For You.''
        -- Dave Barry




reply via email to

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