subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Reser <...@reser.org>
Subject Re: SVN Blame Returns Corrupt Data
Date Thu, 10 Oct 2013 23:07:06 GMT
On 10/10/13 12:17 PM, T.J. Perovich wrote:
> On Thu, Oct 10, 2013 at 2:27 PM, Ryan Schmidt <subversion-2012c@ryandesign.com
> <mailto:subversion-2012c@ryandesign.com>> wrote:
>>Sounds like you've converted the file from UTF-8 to UTF-16.
> 
> Thanks, you're absolutely right.  It changed from UTF-8 to UTF-16LE.  
> 
> Any idea how to go about fixing it elegantly?  We have about 3 months of
> commits since this happened.  Diff's in the GUIs have been working fine and we
> don't blame too often which is why it was never noticed.

At current blame is not UTF-16 aware.

About a year ago there was a "patch" (actually they just reposted an entire
copy of blame.c) posted that helped, but it really didn't go anywhere since the
original poster didn't continue following up.

https://mail-archives.apache.org/mod_mbox/subversion-dev/201207.mbox/%3CCAAF0CB13B282344AF95AD2DE3D1962215627A3C%40DAG-B.nexon.corp%3E

and the followup

https://mail-archives.apache.org/mod_mbox/subversion-dev/201208.mbox/%3CCAB84uBVVrHFfQyEA5pF5gStMpXz+RH2jKvdvCQsCOCJv+RqtWw@mail.gmail.com%3E

Perhaps you'll find the above useful.  Patches are of course welcome.

Mime
View raw message