[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: Nathan Tuggy <bugzilla_at_nathan.tuggycomputer.com>
Date: Wed, 09 Dec 2009 21:22:55 -0800

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?

On 2009-12-09 14:32, C Yohman wrote:
> Picture below. Steps to reproduce:
>
> 1) Commit.
> 2) Right click on file.
> 3) Show differences as unified diff.
>
> Using Microsoft Visual Studio 2005.
>
> How do I fix this? Thx. Apologies for the violation of any social graces.

-- 
Nathan Tuggy
nathan_at_tuggycomputer.com
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2429096
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-10 06:23:14 CET

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