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

RE: Unversioned files with invalid UTF-8 sequence in name confuse svn

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 1 Mar 2016 15:22:23 +0100

> -----Original Message-----
> From: Markus Schaber [mailto:m.schaber_at_codesys.com]
> Sent: dinsdag 1 maart 2016 15:07
> To: dev_at_subversion.apache.org
> Cc: Vincent Lefevre <vincent-svn_at_vinc17.net>
> Subject: RE: Unversioned files with invalid UTF-8 sequence in name confuse
> svn
>
> Hi, Brane and Vincent,
>
> From: Branko ─îibej [mailto:brane_at_apache.org]
> > >> A fairly plausible cause for getting the wrong representation is
> > >> changing the locale for the duration of a script invocation. Another
> > >> plausible way is to create files based on the contents of some
> > >> script, which are not encoded the as expected by the current locale.
> > > However Subversion doesn't handle that (BTW it would be much better
> to
> > > remember the expected locale by storing it in the .svn directory
> > > rather than giving obscure error messages: if it did, Subversion would
> > > know that the user was using an incorrect locale without any
> > > ambiguity).
> >
> > And if the user changes the locale for valid reasons, the Subversion
> > working copy would break in a different way.
>
> I guess we would need some "change locale" operation, which would at least
> update the saved locale in the .svn directory.

There is no saved locale in the .svn directory...

        Bert
Received on 2016-03-01 15:22:38 CET

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