emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug 130397


From: Eli Zaretskii
Subject: Re: Bug 130397
Date: Mon, 10 Jan 2005 22:16:13 +0200

> Cc: address@hidden,  address@hidden,  address@hidden,
>         address@hidden,  address@hidden,
>         address@hidden,  address@hidden,  address@hidden
> From: David Kastrup <address@hidden>
> Date: Mon, 10 Jan 2005 10:09:41 +0100
> 
> Just encode the line to utf-8, find the correct point in the byte
> string, cut off the line there, convert back and check the length of
> the string.

This isn't needed, I think: the number of bytes in the UTF-8 encoding
of a certain Unicode codepoint is a very simple function of the
codepoint.

> This works unless you are in the middle of a character.

I think this cannot happen, since spelling always works on character
boundaries.




reply via email to

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