You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Faller, Gyula" <GF...@Graphisoft.hu> on 2005/04/11 13:51:00 UTC

Chinese characters in file names

 

            Hi!

 

 If I have a file which has Chinese characters in its name can be
committed to and checked out from svn (provided both the client and
server are on Windows)?

 

 I experienced that CVS read these file names as normal English names
and found that they contain invalid characters in their second bytes of
double-byte characters.

 Will it be solved if I switch to svn from cvs?

 If yes, will it work across different language systems? Eg. I commit it
from a machine with Chinese language/code page, and check it out on an
English language/code page machine?

 If no, is there any hope to improve svn in this area?

 

Thanks for your answer:

 

            Gyula

 

Ps.: APR seems to me not supporting code pages in file opening, nor
UTF-8.


Re: Chinese characters in file names

Posted by Erik Huelsmann <e....@gmx.net>.
> "Faller, Gyula" <GF...@Graphisoft.hu> writes:
> 
> >  If I have a file which has Chinese characters in its name can be
> > committed to and checked out from svn (provided both the client and
> > server are on Windows)?
> 
> So long as your filename can be represented in UTF8, Subversion
> *should* be able to deal with this properly.

Yes, from a server-side POV, you're correct. However, I believe he was
talking client side.

In which case Subversion will only deal with it if your client systems are
correctly setup: the local encoding must be able to represent the chinese
characters in order for Subversion to work correctly.

Note that this is *not* a Subversion limitation, but more a problem caused
by all the different code pages around. 

bye,

Erik.
 
> (And please note that this mailing list is for development questions
> -- yours should have hit users@subversion.tigris.org instead.)

Directed to users@ for that reason.

-- 
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Chinese characters in file names

Posted by "C. Michael Pilato" <cm...@collab.net>.
"Faller, Gyula" <GF...@Graphisoft.hu> writes:

>  If I have a file which has Chinese characters in its name can be
> committed to and checked out from svn (provided both the client and
> server are on Windows)?

So long as your filename can be represented in UTF8, Subversion
*should* be able to deal with this properly.

(And please note that this mailing list is for development questions
-- yours should have hit users@subversion.tigris.org instead.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org