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

Re: Let's discuss about unicode compositions for filenames!

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Thu, 2 Feb 2012 23:02:13 +0100

On Thu, Feb 2, 2012 at 10:59 PM, Hiroaki Nakamura <hnakamur_at_gmail.com> wrote:
> 2012/2/3 Peter Samuelson <peter_at_p12n.org>:
>>> On 02.02.2012 20:22, Peter Samuelson wrote:
>>> > By proposing a client-only solution, I hope to avoid _all_ those
>>> > questions.
>> [Branko Cibej]
>>> Can't see how that works, unless you either make the client-side
>>> solution optional, create a mapping table, or make name lookup on the
>>> server agnostic to character representation.
>> Yes, I did propose a mapping table in wc.db.
>> Old clients on OS X would continue to be confused; the solution is to
>> upgrade.
> Until upgrading all clients, there are possibilities that NFD filenames
> are checked in to repositories. So I proposed servers change filenames
> to NFC before checking in to repositories.

How about checking existence of a path to be added using NFC encoding?
If it does not exist when both the repository paths and the new
path(s) are converted to NFC, go ahead and add it using the encoding
that you were handed off the network?


Received on 2012-02-02 23:02:47 CET

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