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

Re: Standardizing on UTF8 internally isn't enough

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-07-18 23:39:53 CEST

On 7/18/07, Peter Samuelson <peter@p12n.org> wrote:
>
> [Fabien COELHO]
> > ISTM that if subversion rejects the name when it is 'svn add'-ed,
> > this would solve the issue for future repositories. Thus chosing a
> > normal formal for subversion entries, whatever it is, would be a win?
>
> Two problems with this:
>
> 1) How does subversion know the name isn't normalised? I'm pretty sure
> this would require another library dependency, be it ICU or whatever.
>
> 2) When the user gets this message, what can he do about it? I don't
> think most flavors of Unix include a utility to convert UTF-8 text
> between NFC and NFD, much less rename files for you. So this would
> require hunting down such a utility and adding its name to a README
> somewhere.
>
> As for 1), I think we probably should do this anyway. I have no idea
> about 2).

See the "Proposed solution" thread for my ideas about this, but
basically, yes, I think we need (1), but as far as (2) goes, I don't
think we can require normalization forms on disk (but we can
internally).

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 18 23:39:03 2007

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

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