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

Re: Check-out fails with LANG=C

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Fri, 19 Jul 2013 16:32:50 +0200

On 2013-07-19 15:22:33 +0200, Vincent Lefevre wrote:
> On 2013-07-09 20:21:33 +0200, Branko Čibej wrote:
> > In a context where, for example, most files were encoded in Big5
> > (http://en.wikipedia.org/wiki/Big5) — not a too far-fetched proposition
> > — it would be slightly insane, to put it mildly, for Subversion to
> > assume it can just write UTF-8 to disk.
>
> Users who want UTF-8 on disk could choose UTF-8 in a config file.
> Users who want Big5 on disk could choose Big5 in a config file.
> There should also be a way to have ASCII encoding (like what is
> done for URL's), for users who want things to work in every context
> with the possibly-minor drawback of having some filenames that are
> hardly readable with basic tools.
[...]

Actually I think that the encoding needs to be stored somewhere in the
working copy. Otherwise even if the user never changes the encoding,
problems may occur, and this is also true with the current behavior.
Indeed it was said in the past that USB keys were supported. So, move
a USB key to a different computer, where the encoding specified by the
environment is different... and see what happens if you try to do an
"svn update"...

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2013-07-19 16:33:30 CEST

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