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

Re: issue 1463: locale problems during import and export/checkout

From: Stephan Hermann <sh_at_sourcecode.de>
Date: 2003-08-07 10:05:18 CEST


On Wednesday 06 August 2003 17:52, Michael Wood wrote:
> > When you are trying to import now the files into the repository, this
> > action will abort with the failure: failure during string recode
> > (utf.c:173) (libsvn_subr).
> > After this action, the DB is completly broken.
> I suspect "svnadmin recover" will fix it.

No. Doesn't work.

> > When I change the locale to "export LANG=de_DE@euro" and do the import
> > again everything works fine.
> This is because umlauts etc. are not valid in the POSIX locale.

Right ;)

> But the locale is a client side thing, not a server side thing. If this
> causes the repository to need a recovery, I think that is a bug.
> User A has locale set to de_DE@euro and User B has their locale set to
> some cyrillic locale or something. These filenames are translated to
> UTF8 internally, so the repository never knows or cares about the
> clients' locales. If the German user tries to check out filenames with
> Russian special characters in them, then he's going to have trouble, but
> maybe setting the locale to something like de_DE.UTF-8 would work?

Well, if you tell me the right utf-8 locale for whole europe, i would be fine

We have to include not only west europe locales, but also all east europe
We would be on a saftey side, if anyone is using us-ascii for filenames, but
our web/php/windows developers are using all those "nifty" features of ms.
And that gives me nightmares.

There must be a possibility to add/import checkout/export filenames with
special chars without breaking anything.

> I am by no means an expert on this sort of thing, though...

Add me ! Me too (c) aol.com



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 7 10:06:07 2003

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