emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: case-table functions clobbering extra slots


From: Simon Josefsson
Subject: Re: case-table functions clobbering extra slots
Date: Fri, 28 Jan 2005 17:58:02 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

"Eli Zaretskii" <address@hidden> writes:

>> From: Simon Josefsson <address@hidden>
>> OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
>> Date: Fri, 28 Jan 2005 15:34:37 +0100
>> Cc: address@hidden, address@hidden, Kenichi Handa <address@hidden>
>> 
>> It may be useful to study how Unicode handle this problem, I believe
>> they have mechanisms to specify how to do up/down-case etc for
>> characters.
>
> AFAIK, that mechanism is a bunch of giant tables that tell, for every
> character, what other character are case-related to this one.
>
> I don't see how this helps us devise our own solution.

Unicode doesn't give complete ToLower or ToUpper algorithms, as far as
I know, but using the information in the tables might be useful.
Chapter 5 of the Unicode standard has a section 5.18 on case mappings.
See <http://www.unicode.org/versions/Unicode4.0.0/ch05.pdf>. Anyway,
just a suggestion.




reply via email to

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