Sublime Forum

Sublime opens file with hex view even though it has null bytes

#1

Hi,

I got 2 pdf files. both contain null bytes and one of the file open with UTF-8 encoding and the other with hex view.
I have the “enable_hexadecimal_encoding”: true.
Can’t figure out why Sublime does not behave consistently when opening those 2 files.
I would expect both files to open in hex or in UTF-8
Here are the two pdf files (i’ve cut out the most part to minimize them so they’re not valid pdf files any more):
https://goo.gl/MwVpQ0
https://goo.gl/2hiNHy

1 Like