subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suman.mai...@asia.bnpparibas.com
Subject Re: svn checkout - special characters in file name are not encoding properly
Date Tue, 10 Aug 2010 05:22:10 GMT
Please let me know how to check the file system encoding type in 
repository, and assist me to change the encoding with a proper encoding 
format to get the files properly.

--Sunny




Internet
d.s@daniel.shahaf.name
09/08/2010 21:01

To
Suman MAINAM
cc
users
Subject
Re: svn checkout - special characters in file name are not      encoding 
properly






(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@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
0:% 

(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>






This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 
Do not print this message unless it is necessary,
consider the environment.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.
Mime
View raw message