It would be good if Sublime Text took note of the byte order mark (BOM) of unicode documents. This issue came up for me when viewing the output of a Powershell script.
A demonstration of the issue:
- In Powershell, type this in:
“hi there” | out-file hi.txt - Open hi.txt in Notepad. No problem.
- Open hi.txt in Sublime Text. Gibberish.
- Open hi.txt in a hex editor. Note the BOM (FF EE) at the beginning.