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

Re: Blame only shows 3 lines of garbage text.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 01 Jun 2014 19:33:47 +0200

On 31.05.2014 04:18, Royce Fessenden wrote:
> Thanks for the quick response.
>
> After reading your reply, I searched, but did not find any "Issues"
> that indicate there was a plan to support utf-16le. I did find posts
> and discussions indicating others were interested in the same thing.
>
> I might be able to help make the needed changes, but I have some
> questions:
>
> Would supporting utf-16le require changes to both SVN and
> TortoiseSvn?

Yes.

> Everything but Blame seems to work find with the utf-16 files. But
> it appears to me that a clean fix would require changes elsewhere.
> Right?

Not really: the diffing engine in svn does not support utf-16 data. So
everything that needs that engine to produce text output does not work.
This includes blame of course, but also creating and applying patch
files, unified diffs, ...

> A quick search of the TortoiseSVN source for utf8 found 689 lines in
> 89 files. The Unicode Utils used appeared to support utf-16. My
> guess, and it's just a guess, is that it would take a developer
> familiar with the project a month to do the work. Two or three with
> a learning curve. Does that seem reasonable to you?

Ahem: the issue with utf-16 files is as old as svn. And it hasn't been
fixed since then even though there are a lot of developers working on
svn and some of them are even paid to do so.

> Do you have a team of developers? What's the procedure to get a
> project approved? To sign on as a developer?
>
> I have Visual Studio, and C++ experience, though most of my C++ was
> using Borland tools.

If you really want to do this, you should have a look here:
http://subversion.apache.org/contributing.html
and then introduce yourself on the svn dev list.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3079679
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-06-01 19:34:16 CEST

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