#2123 Different Unicode files "identical" on "ignore blank lines"

Trunk
open
nobody
5
2012-12-21
2012-10-10
Robert Knienider
No

Windows 7
WinMerge 2.12.4.0. Unicode

When unicode files are compared with the "ignore blank lines" option, they may be shown as identical in folder compare. Bug is reproducible only if restarting winmerge after setting or resetting this option.

In contrast to earlier bug reports on this issue find attached a minimal example file (few bytes only)!

Discussion

  • The hex contents of the example file per encoding hints at different handling of one-byte and two-byte CR and LF characters when "ignore blank lines" option is set:

    WesternEuropean.txt
    61 0D 0A 61 0D 0A

    UTF8signed.txt
    EF BB BF 61 0D 0A 61 0D 0A

    Unicode.txt
    FF FE 61 00 0D 00 0A 00 61 00 0D 00 0A 00

     
  • Jochen Tucht
    Jochen Tucht
    2012-10-21

    Fixed in WinMerge 2011 (https://bitbucket.org/jtuc/winmerge2011)