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

Re: case sensitivity questions - oh no!!

From: Martin Tomes <lists_at_tomes.org>
Date: 2005-07-26 10:19:34 CEST

Branko Čibej wrote:
> Norbert Unterberg wrote:
>
>> 2005/7/25, Branko Čibej <brane@xbc.nu>:
>>> Such filesystems do one of two things:
>>> a) Invent a "canonical" case-folding function that "works" in all
>>> locales
>>> b) Use whichever locale happens to be in force to do the case folding
>>
>> How to do caseless matching is part of the unicode standard. See
>> chapter 3.13 and 4.2. It also provides the neccessary conversion
>> tables, i.e. this one:
>>
>> http://www.unicode.org/Public/4.1.0/ucd/CaseFolding.txt
>>
> Yes, but the problem is that this might not be the way a particular
> filesystem does it, so even if we used this algorithm on the server, we
> will still get some wrong results.

My reading of this (which was in an earlier post):

http://blogs.msdn.com/michkap/archive/2005/01/16/353873.aspx

is that the intention of NTFS is to do Unicode case folding but there
are some missing mappings and a small number which are in error. The
missing mappings don't matter, we should stop those filenames anyway
because if/when Microsoft add the missing ones it will still be possible
to checkout a working copy. The ones which are there in error are a
problem but I will be putting my head in a large bucket of sand and
ignoring them until someone finds a real world example of a failure.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
Visit http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 26 10:20:29 2005

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