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
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
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.