Sublime Forum

Txt file is opened as some hex code

#1

I am using build 3126 in Mac. The .txt file size is 78 MB and was downloaded through Opera from Jenkins. It opens properly in TextEdit, but when I open it in Sublime, it shows something as below:

436f 7069 6564 206d 6176 656e 3331 2d61
6765 6e74 2e6a 6172 0a43 6f70 6965 6420
6d61 7665 6e33 312d 696e 7465 7263 6570
746f 722e 6a61 720a 436f 7069 6564 206d
6176 656e 332d 696e 7465 7263 6570 746f
722d 636f 6d6d 6f6e 732e 6a61 720a 3c3d

0 Likes

#2

Files should only be opened in hex if they contain a null byte.

You could try changing this setting to false:

// Files containing null bytes are opened as hexadecimal by default
"enable_hexadecimal_encoding": true,
0 Likes