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

Re: Has anyone seen NUL characters in their unified diffs?

From: C Yohman <cyohman_at_tsinc.com>
Date: Fri, 11 Dec 2009 16:24:58 -0500

I decided it was just easier to use Compare with Base where the problem
doesn't exist. Thx.

Chance Yohman
TSI
14 Maine St
Ste 306
Brunswick, ME 04011
tsinc.com
Phone: (207) 798-4646 ext 217
Fax: (207) 798-4644

On Thu, Dec 10, 2009 at 14:48, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> On 10.12.2009 06:22, Nathan Tuggy wrote:
> > It looks like Unicode to me: every other character is a NUL, which is
> > typical of UTF-16 files that contain only ASCII characters. Check your
> > source files to see.
> >
> > As for why this shows up, I'm not sure; I would expect that TSVN would
> > handle Unicode, and I've certainly never had trouble on the few
> > occasions I've tried dealing with Unicode files. Perhaps the files don't
> > have the Byte Order Marker at the beginning as they ought to?
>
> TSVN can handle utf-16 files very well. And so can TMerge.
> But the unified diffs are plain ascii or utf8 because their headers are
> written in utf8 encoding.
> That's not going to change since unified diff format can't handle utf-16.
>
> 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=2429565
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2429871

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-12 01:38:11 CET

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

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