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

Re: Encoding problem causes SVN to misbehave on OS X Leopard

From: Sergio Lopes <knitter.is_at_gmail.com>
Date: Thu, 26 Mar 2009 09:10:20 +0000

> What would you have your pre-commit hook do? The only workable thing I could
> think to have it do would be to only accept filenames in decomposed UTF-8
> representation and deny filenames in composed UTF-8 representation. This
> would mean anytime you want to create a new file with UTF-8 characters, you
> would have to do so from a Mac (since that's the only platform that creates
> decomposed UTF-8 filenames). And that's probably inconvenient for your
> non-Mac-using coworkers.

I'll want the pre-commit hook to deny any file with non-ASCII
characters in the name, accepting only files whose names have no
Portuguese characters will, I think, prevent further issues like this
one, or other that may arise related to encodings.
It is, actually, a rule we have talked about, amongst the developers,
and these particular files were the only exception, given they came
from a client and the person that put the files in the repository
didn't rename them.

Though as my experience with such issues is limited, and it may be
that creating the hook will be more of an annoyance than a feature.

Unfortunately, the all situation came in the middle of an iteration
where my attention needs to be all in the development and, as SVN is
working properly for the other developers, I'll have do postpone
solving the problem.

Sem mais e com os melhores cumprimentos,
Sérgio Lopes
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-26 15:40:55 CET

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.