Aamir
Aamir

Reputation: 2424

Sublime text Hexadecimal View

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?

enter image description here

Upvotes: 40

Views: 54448

Answers (4)

I'm Geeker
I'm Geeker

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

Deepan Prabhu Babu
Deepan Prabhu Babu

Reputation: 912

In the sublime i have, which is version 3, Reopen with Encoding has an hexadecimal option. !!

Upvotes: 3

MattDMo
MattDMo

Reputation: 102892

Go to File -> Reopen with Encoding and select UTF-8. This will bring back the normal text view.

Upvotes: 115

Vall3y
Vall3y

Reputation: 1181

Are you perhaps using Hex Viewer plugin?

Try hitting Ctrl+shift+p (command pallette) and Toggle Hex View

Upvotes: 7

Related Questions