[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Replace latin-1-specific case-manipulation
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Replace latin-1-specific case-manipulation |
Date: |
Thu, 21 Feb 2019 05:37:24 +0200 |
> From: Mattias Engdegård <address@hidden>
> Date: Wed, 20 Feb 2019 21:47:17 +0100
> Cc: address@hidden
>
> > How did you deduce it was for Latin-1?
>
> Just a guess, from the bitwise AND with octal 337 which corresponds to the
> positions of upper/lower case letters in Latin-1.
> But I suppose it could work for other in the ISO 8859-n series as well.
I think it's simply because Emacs didn't have 'capitalize' back then.
That code survived since 1990.
So of course it's OK to use capitalize now.
Thanks.