Html 崇高的文本十六进制视图

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27943003/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 03:21:26  来源:igfitidea点击:

Sublime text Hexadecimal View

htmlsublimetext

提问by Aamir

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.

我不小心将我的 .css 文件的编码更改为 sublime text 中的十六进制。

How can I get back the normal text .css?

我怎样才能恢复正常的文本 .css?

enter image description here

在此处输入图片说明

采纳答案by I'm Geeker

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

回答by MattDMo

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

前往File -> Reopen with Encoding并选择UTF-8。这将带回正常的文本视图。

回答by Vall3y

Are you perhaps using Hex Viewer plugin?

您是否正在使用 Hex Viewer 插件?

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

尝试按 Ctrl+shift+p(命令面板)并切换十六进制视图

回答by Deepan Prabhu Babu

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

在我拥有的 sublime 版本 3 中,Reopen with Encoding 有一个十六进制选项。!!