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

Re: Re: Antwort: Re: problem with mutated vowel in log-message-contents

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 22 Feb 2011 11:34:04 +0200

Daniel Shahaf wrote on Tue, Feb 22, 2011 at 11:26:25 +0200:
> Johan Corveleyn wrote on Tue, Feb 22, 2011 at 09:43:25 +0100:
> > So, all that being said, what Daniel means is that you could apply
> > something like:
> >
> > svn propedit --revprop -r $REV --editor-cmd 'perl -pi -e
> > "s/\\xfc/\\xc3\\xbc/g"'
> >
> > to all revisions (REV) that need to be corrected (either a list that
> > you make up manually, or something automated with "svn propget
> > --revprop" combined with "sed", or something similar ...).
>
> By the way, please don't consider this a generic solution. It's
> a *shortcut*, which is probably okay for ü, but WILL corrupt your log
> messages if you adapt it for §.

... because the latin1 byte sequence for § is part of some UTF-8
byte sequences.

(I'm assuming that at least some log messages are already in UTF-8.)
Received on 2011-02-22 10:39:25 CET

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

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