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

Re: Problem with accented characters in checkout

From: Nicolás Lichtmaier <jnl_at_synapsis-sa.com.ar>
Date: 2004-02-19 19:01:27 CET

Philip Martin wrote:

>This is exactly what happens if one uses a UTF-8 locale and then one
>imports a directory tree containing non-UTF-8 names. There is no
>validation of the names, they go straight into the repository and then
>checkouts can fail.
>
>You either need to manually convert the names to UTF-8 before
>importing them, or use a non-UTF-8 locale and the client will convert
>on the fly and send UTF-8 to the repository.
>
>The trunk has code to detect the invalid name at import time and abort
>the import.
>
>

I've used cvs2svn.py, but yes, LANG was wrongly set to "en_US.UTF-8".
I'll need to re-run cvs2svn.py with a ISO-8859-1 locale to fix this, right?

I think that Subversion should not trust LANG so much and check that the
input is valid UTF-8 before importing it in the db.

-- 
Nicolás Lichtmaier.-
Synapsis Argentina
+54(11)4314-3000 (int. 231)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 19 19:07:14 2004

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

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