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

Re: Problem with control characters in filenames

From: Laurent Saboret <Laurent.Saboret_at_sophia.inria.fr>
Date: 2006-06-27 16:09:40 CEST

Stefan Küng a écrit :
> Laurent Saboret wrote:
>
>> I tested svn 1.3.2 CL client on Linux:
>
> I think here's the catch. I've just found that Windows converts the
> filenames. When you enter e.g. a filename 'test1.txt' in the explorer
> (the 1 in the name entered with Alt-1), then Windows doesn't use the
> ASCII code 1 for this but converts it to 0x263a (a wide char).
> So I guess your Linux installation just can't handle that code for
> some reason. TSVN converts this correctly to 0xe2, 0x98, 0xba (UTF8).
>
> I don't think it's possible for Subversion (or TSVN) to detect that
> such a char doesn't work on your Linux machine. Maybe your iconv lib
> doesn't have those codes stored in its tables or something. At least
> it is a perfectly valid UTF8 sequence.
>
> Stefan
>
Dear Stefan,

You guessed correctly.
Windows modifies filenames containing control characters (which made me
think they were corrupted).
I fixed my locale configuration on Linux, and now SVN cl client on Linux
can update these files :-)

Thank you very much.

Laurent

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jun 27 16:10:06 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.