Someone has recently added a PowerShell (.ps1) script to our Mercurial repository. The file is plain text but TortoiseHg seems to think it's binary and displays a message: "File or diffs not displayed: File is binary".
How to I tell TortoiseHg that ps1 files are text and not binary. I'm using version TortoiseHg 2.0.3
The files are encoded in UCS-2 encoding and I used notepad++ to convert it to UTF-8.
Now that's done, mercurial seems to recognises the file as text and performs a diff properly.
It's time I read this again!
It might be worth looking at this, too as UCS-2 seems closely related to UTF-16. According to that link, it super-cedes it but the effort to move Windows to UTF-16 from UCS-2 has been ongoing since before 2000!