[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Renaming files on win32

From: <brane_at_xbc.nu>
Date: 2004-12-23 02:38:46 CET

Gili wrote:

> On Wed, 22 Dec 2004 21:53:39 +0100, _brane@xbc.nu_ wrote:
>
> >Hear me: regardless of the encoding used, case folding is
> >locale-dependent. It doesn't matter a bit whether the OS uses Unicode or
> >not.
>
> How so? I fail to see how case-folding is locale-dependant under unicode.

Because different languages don't always agree about a) which letters
are uppercase and which are lowercase, and b) how to convert from one to
the other.

And the edge cases aren't as uncommon as you might think. For example,
take any German word that contains the letter "ß" (no, *not* beta);
represent it in lowercase; convert to uppercase, convert back. The
result won't be the same as what you started with, because "ß" happens
to be a lowercase letter whose uppercase equivalent is "SS".

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 23 02:40:50 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.