Home Download Buy Blog Forum Support

Sublime Text should take note of byte order marks

Sublime Text should take note of byte order marks

Postby Dan Phillips on Sun Nov 08, 2009 4:55 am

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:

1. In Powershell, type this in:
"hi there" | out-file hi.txt
2. Open hi.txt in Notepad. No problem.
3. Open hi.txt in Sublime Text. Gibberish.
4. Open hi.txt in a hex editor. Note the BOM (FF EE) at the beginning.
Dan Phillips
 
Posts: 11
Joined: Wed Oct 21, 2009 2:37 am

Re: Sublime Text should take note of byte order marks

Postby jps on Sun Nov 08, 2009 6:04 am

This is a regression in the current beta (1.2.2 will open the file correctly), I'll fix it for the next version - thanks for the report.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests