2

I'm looking for a pair of diff- and patch-like tool(s) that can understand various text file encodings, especially UTF-8 and UCS-2.

Currently I have to write a custom bashscript (in Cygwin) that converts the files back-and-forth between UTF-8 and UCS-2 to perform diff's and patch's via temp files, but this is of course suboptimal because it needs installation of Cygwin.

Preferably the tool should have a GUI, but even a CLI-only tool will be welcome.

The tool will be used for game modding, to patch .ini files which, after some investigations, were apparently required (by the game) to be encoded using UCS-2 (game fails spectacularly if the .ini files are converted to UTF-8 permanently -- can't do anything about that).

1
  • You can get Windows versions of diff and patch that do not have Cygwin dependencies, and you could script them with PowerShell (or possibly cmd) instead of bash. – jamesdlin Apr 16 '17 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.