Reputation: 2424
How can I get back to text version from hexadecimal in sublime text?
I accidentally changed the encoding of my .css file to Hexadecimal in sublime text.
How can I get back the normal text .css?
Upvotes: 40
Views: 54448
Reputation: 4637
Files containing null bytes are opened as hexadecimal by default In your User or Default Settings file:
"enable_hexadecimal_encoding": false
OR
In your User or Default Settings file(s):
"preview_on_click": false
Upvotes: 20
Reputation: 912
In the sublime i have, which is version 3, Reopen with Encoding has an hexadecimal option. !!
Upvotes: 3
Reputation: 102892
Go to File -> Reopen with Encoding
and select UTF-8
. This will bring back the normal text view.
Upvotes: 115
Reputation: 1181
Are you perhaps using Hex Viewer plugin?
Try hitting Ctrl+shift+p (command pallette) and Toggle Hex View
Upvotes: 7