How to force diff to compare binary files
Use the --text
flag to force diff to compare files in text mode even if it thinks they are binary files:
diff --text a.txt b.txt
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow