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

RE: Re: "Save to Clipboard" including BOM marker

From: Eric Hirst <eric.hirst_at_noetix.com>
Date: Fri, 17 Jul 2015 09:47:59 -0700 (PDT)

Gavin,

As I understand it, the problem in this case was that the CF_TEXT format was lossy when dealing with the BOM. The CF_UNICODETEXT format is not lossy. As long as the application pasting from the clipboard knows to favor CF_UNICODETEXT, the problem goes away. As I noted earlier, Notepad, Notepad++, IE, and Chrome all know to favor CF_UNICODETEXT.

My guess is that you could now include BOM content in the changed (+ or -) part of the diff now as well. I haven't bothered to test that because it's a very uncommon scenario.

-Eric

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-07-17 18:48:02 CEST

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