2758: Comparing UTF8 text files doesn't highlight correctly & downloaded diff is not UTF8

lru****@mac**** (Google Code) (Is this you? Claim this profile.)
Feb. 6, 2014
What version are you running?

1.6.9
What's the URL of the page containing the problem?
https://reviewboard.eng.vmware.com/r/385645/

What steps will reproduce the problem?
1. Compare UTF8 text files with multibyte characters.

What is the expected output? What do you see instead?
The highlighting doesn't always select the correct character and the downloaded diff is not UTF8 - see the .css file for the downloaded diff and p5diff.txt for the result of "p5 diff -du -c"

Also included a screenshot showing incorrect & correct highlighting. If there are any multibyte characters before the diff, the diff is offset.

What operating system are you using? What browser?

Mac OSX 10.8.2
Safari 6.0.1

Please provide any additional information below.
I used post-review
--- //depot/bora/hosted12-pd-rel/messages/fusion/de/vmware.vmsg	//depot/bora/hosted12-pd-rel/messages/fusion/de/vmware.vmsg#7
+++ //depot/bora/hosted12-pd-rel/messages/fusion/de/vmware.vmsg	2012-10-01 16:12:20
@@ -655,7 +655,7 @@ msg.cpuid.noCpuidFaultingSupport = "Gast
 msg.cpuid.noLongmode = "Diese virtuelle Maschine ist für 64-Bit-Gastbetriebssysteme konfiguriert. Der 64-Bit-Betrieb ist jedoch nicht möglich.|0A"
 msg.cpuid.noLongmode2 = "%1$sWeitere Informationen finden Sie unter %2$s.|0A"
 msg.cpuid.noMultiCoreSupport2 = "Dieses System unterstützt keine CPUs mit mehreren Cores und kann diese virtuelle Maschine, für die CPUs mit mehreren Cores konfiguriert sind, nicht ausführen. Wenn dieses System über eine CPU mit mehreren Cores verfügt, deaktivieren Sie die Option CPUID-Wert begrenzen im System-BIOS."
-msg.cpuid.noVHVQuestion = "%1$sOhne virtualisiertes %2$ sfortfahren?|0A"
+msg.cpuid.noVHVQuestion = "%1$sOhne virtualisiertes %2$s sfortfahren?|0A"
 msg.cpuid.notAMDVCa
--- bora/messages/fusion/de/vmware.vmsg  //depot/bora/hosted12-pd-rel/messages/fusion/de/vmware.vmsg#7
+++ bora/messages/fusion/de/vmware.vmsg  12-10-01 16:12:20
@@ -655,7 +655,7 @@
 msg.cpuid.noLongmode = "Diese virtuelle Maschine ist für 64-Bit-Gastbetriebssysteme konfiguriert. Der 64-Bit-Betrieb ist jedoch nicht möglich.|0A"
 msg.cpuid.noLongmode2 = "%1$sWeitere Informationen finden Sie unter %2$s.|0A"
 msg.cpuid.noMultiCoreSupport2 = "Dieses System unterstützt keine CPUs mit mehreren Cores und kann diese virtuelle Maschine, für die CPUs mit mehreren Cores konfiguriert sind, nicht ausführen. Wenn dieses System über eine CPU mit mehreren Cores verfügt, deaktivieren Sie die Option „CPUID-Wert begrenzen“ im System-BIOS."
-msg.cpuid.noVHVQuestion = "%1$sOhne virtualisiertes %2$ sfortfahren?|0A"
+msg.cpuid.noVHVQuestion = "%1$sOhne virtualisiertes %2$s sfortfahren?|0A"
 msg.cpuid.notAMDVCapable = "Ihr Prozessor unterstützt virtualisiertes AMD-V/RVI nicht, das für diese virtu
david
#1 david
  • +Component-DiffViewer
david
#2 david
This has improved a lot since 1.6.x
  • +Fixed