subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Ebermann <Paul-Eberm...@gmx.de>
Subject Re: svn checkout - special characters in file name are not encoding properly
Date Wed, 11 Aug 2010 15:34:19 GMT
Vincent Lefevre wrote:
> On 2010-08-11 13:51:18 +0200, Stefan Sperling wrote:
>> On Wed, Aug 11, 2010 at 12:35:59PM +0200, Vincent Lefevre wrote:

>>> Yes, and this is another reason why the solution chosen by Subversion
>>> doesn't work well. For instance, GNOME always uses UTF-8 for filename
>>> encoding.
>> You might as well argue that Subversion's solution works well but
>> GNOME's solution does not.
> 
> That's wrong. GNOME let's me to use any locale in shell sessions.
> Subversion doesn't.

Yes, but GNOME does not allow using any locale in a file manager session (or, it ignores
the locale in the filemanager session, while the command line tools do not).

(KDE is similar, for my experiments.)

>>> So, if the user uses ISO-8859-* locales (for shell sessions),
>>> one gets inconsistencies.
>> So don't use GNOME if you don't want your filenames encoded in UTF-8,
> 
> I meant: one gets inconsistencies between GNOME and Subversion.
> 
>> or don't use a non-UTF-8 locale when working with files you want to
>> use from GNOME. Problem solved.
> 
> You're forcing the user to use a UTF-8 locale. Unacceptable.

No, GNOME forces the user to use a UTF-8 locale, if ls, rm, cd and other command line
tools are to show/accept the same name as the GNOME file manager.

Subversion here simply behaves as any other Unix command line tool, it seems, with the
additional gotcha that it does not only use input from and output to terminal and file
system, but also from/to the repository.


Paul

Mime
View raw message