[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 9 Aug 2010 18:31:43 +0300

(I'm going to handle just the "svn repository" potential cause of the
problem. I'll let others handle the "client-side problem, but repository is
okay" potential cause.)

suman.mainam_at_asia.bnpparibas.com wrote on Mon, Aug 09, 2010 at 11:42:04 +0530:
> Hi,
> I'm working on French project. Very recently we have migrated our project
> from CVS to SVN repository. After migration, when checking out the file
> names which have special characters like Western-Europe encoding fonts are
> giving problem.
> e.g.:"modŠle fields-replacements.xsl" is the file name inside the
> Subversion and after checking out the file into the local machine it is
> coming like "mod?le fields-replacements.xsl"
> Inside the file name '?' is displaying rather than Š(S with caron).
> Please help me to get the proper file-names from subversion without any
> encoding
> problem

We do support UTF-8 file names:

0:% x="modŠle fields-replacements.xsl"
0:% echo foo > $x
0:% $svnmucc put -mmsg $x file://`pwd`/r1/$x
r2 committed by daniel at 2010-08-09T15:28:18.165794Z
0:% $svn up wc1
A wc1/modŠle fields-replacements.xsl
Updated to revision 2.
0:% ls wc1
branches modŠle fields-replacements.xsl tags trunk

(this is under linux with a UTF-8 locale)

Given that you migrated from CVS to SVN, can you check that the filenames
inside the repository's filesystem are encoded in UTF-8 and not in iso-8859-*?

> Thank you,
> Regards,
> Sunny

<snip disclaimer>
Received on 2010-08-09 17:34:07 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.