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?
HexViewer is a plugin for Sublime Text that allows the toggling of a file into a hex viewing mode.
Open a session in Terminal, and use head -1 <path_to_your_file> to open the file. It'll read what it thinks is the first line and display it in the window. Or, instead, use file <path_to_your_file> to analyze the file and it'll tell you whether it thinks it's ASCII text, binary, or some other type.
An ASCII text file (with the extension . hex). You can use a Hexadecimal (Intel-Format) File (. hex) in the Quartus® Prime software to store the initial memory values for a memory block, such as RAM or ROM, that is implemented in an FPGA device, or to build software project executables.
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
Go to File -> Reopen with Encoding
and select UTF-8
. This will bring back the normal text view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With