You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Lele Gaifax <le...@nautilus.homeip.net> on 2004/01/23 01:06:37 UTC
Problem with accented letters and copy/move
Hi all,
I had problems with accented letters and svn 0.35.1: one repos_
did contain a file "ConnettivitàADatabaseRelazionali" and given that
several other tools have problems dealing with such names, I decided
to get rid of it, renaming the file to simply DatabaseRelazionali.
With "svn mv ConnettivitàADatabaseRelazionali DatabaseRelazionali"
I got "svn: Can't recode string: Invalid argument". I then tryed a
remote operation, feeding "Connettivit%E0ADatabaseRelazionali.rst" as
requested by the URI specs, and this gave "svn: Path
'http://.../Connettivit%E0ADatabaseRelazionali.rst' does not exist in
revision '288'". Trying a copy operation triggered the same errors.
Strangely, all other commands do works ok, I was obviously able to do
a "svn add ConnettivitàADatabaseRelazionali" in the beginning, and
"svn log ConnettivitàADatabaseRelazionali" works too, as do both local
and remote "svn ls" that correctly lists the filename...
Given that the history of those files were not so fundamental, I gave
up, and did
$ cp ConnettivitàADatabaseRelazionali.rst DatabaseRelazionali.rst
$ svn add DatabaseRelazionali.rst
A DatabaseRelazionali.rst
$ svn rm ConnettivitàADatabaseRelazionali.rst
D ConnettivitàADatabaseRelazionali.rst
and finally committed, without any trouble.
I will happily tarz the repos_ and share it, if needed for any purpose
:)
Should I insert an issue?
thanx&bye,
lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele@seldati.it | -- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem with accented letters and copy/move
Posted by Lele Gaifax <le...@nautilus.homeip.net>.
>>>>> "Vincent" == Vincent Lefevre <vi...@vinc17.org> writes:
Vincent> On 2004-01-23 02:06:37 +0100, Lele Gaifax wrote:
>> With "svn mv ConnettivitàADatabaseRelazionali
>> DatabaseRelazionali" I got "svn: Can't recode string: Invalid
>> argument". I then tryed a remote operation, feeding
>> "Connettivit%E0ADatabaseRelazionali.rst" as requested by the
>> URI specs, and this gave "svn: Path
>> 'http://.../Connettivit%E0ADatabaseRelazionali.rst' does not
>> exist in
Vincent> ^^^
>> revision '288'". Trying a copy operation triggered the same
>> errors.
Vincent> Shouldn't you use the UTF-8 encoding in the URL?
It was my intention... A good soul on IRC pointed me to a web site
with a simple php script that does the conversion: I got %E0 from
there...
Anyway, it' a little strange that only copy&move suffer from this
problem, doesn't it? Should svn be able to a) dealing with a pathname
*it* has created and b) properly recode the URI when it contains
non-ascii chars [eventually just showing it in the error mesg)?
thanx,
bye, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele@seldati.it | -- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem with accented letters and copy/move
Posted by Vincent Lefevre <vi...@vinc17.org>.
On 2004-01-23 02:06:37 +0100, Lele Gaifax wrote:
> With "svn mv ConnettivitàADatabaseRelazionali DatabaseRelazionali"
> I got "svn: Can't recode string: Invalid argument". I then tryed a
> remote operation, feeding "Connettivit%E0ADatabaseRelazionali.rst" as
> requested by the URI specs, and this gave "svn: Path
> 'http://.../Connettivit%E0ADatabaseRelazionali.rst' does not exist in
^^^
> revision '288'". Trying a copy operation triggered the same errors.
Shouldn't you use the UTF-8 encoding in the URL?
--
Vincent Lefèvre <vi...@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