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

Re: Problems with accents in filenames

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2003-11-20 17:40:58 CET

On 2003-11-20 16:30:06 +0000, Philip Martin wrote:
> How would that work? An ISO-8859-1 name may not be a valid UTF-8
> sequence, so it gets converted when committed. If it didn't get
> converted back when retrieved then the original name would not be
> restored.
>
> Create a subdirectory with an "awkward" name
>
> $ svnadmin create repo
> $ svn co file://`pwd`/repo
> $ LANG=en_GB svn mkdir wc/`printf "foo\xe9\xe5"`
> $ LANG=en_GB svn ci wc -m "awkward name"

OK, it seems that I misinterpreted what Ben meant by "create a path
in the working copy". So, if the path comes from the user input, it
should be converted into UTF-8. However, if the path comes from the
file system (e.g. when doing a recursive operation), no conversion
should occur.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 20 17:41:48 2003

This is an archived mail posted to the Subversion Dev mailing list.