Jump to content


p4merge diff looks wrong for utf-16 files

p4merge bug utf-16 unicode

  • Please log in to reply
No replies to this topic

#1 samwise

samwise

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 25 May 2017 - 01:53 AM

Hi,

I'm diffing a UTF-16 file (a localisation text file) and the highlighted lines are incorrect. The diff looks like this:

p4mergebug.png

it actually varies depending on the size of the p4merge window. The lines that have really changed are a couple of lines below (starting with "Pack/Earn" on the left panel).

The encoding is set to UTF-16 and both files are UTF-16. kdiff correctly shows the diff:


kdiff.png
But I don't want to use kdiff :)

Does anyone have a workaround for this? Is this a known bug? It seems to have been happening for ages (I had a 2015 version installed, and just now upgraded to "Rev. P4Merge/NTX64/2017.1/1491634").

Thanks,
Sam

Attached Thumbnails

  • p4mergebug.png
  • kdiff.png






Also tagged with one or more of these keywords: p4merge, bug, utf-16, unicode

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users