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

Re: svn checkout - special characters in file name are not encoding properly

From: Michael Pruemm <mpruemm_at_eso.org>
Date: Wed, 11 Aug 2010 16:49:46 +0200

Vincent Lefevre wrote:
>> However, I'd expect many will just assume that the user wants filenames
>> to be encoded according to the current locale.
>> If everybody follows this convention, there is no problem, apart from
>> user errors during locale configuration.
> You're asking the user, and even all users on the system where
> the files are shared, to stick with a single locale. This is not
> acceptable, this is contrary to POSIX requirements, and is also
> a problem for SSH (where the user needs to use the same charset
> on both sides). Under these conditions, the only possibility is
> to encode the filenames in UTF-8 anyway. So, why not enforcing
> that?

But don't forget that different platforms may use different UTF-8
encodings for the same filename. Mac OS X encodes accented characters in
filenames in a different way than Linux.

- Michael
Received on 2010-08-11 16:50:34 CEST

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.