Sublime Forum

Why does such a powerful SublimeText cannot Set "default_encoding": "GBK"?

#1

Why does such a powerful SublimeText cannot set

“default_encoding”: “GBK”,

0 Likes

#2

What do you mean by “support directly”? ST will always display the actual characters in a file, it’s not a wysiwyg editor. Though you could create a plugin or syntax definition for ansii colors.

0 Likes

#3

“Support directly” means that users can directly edit gbk encoded text without other plug-in extensions.
such as editplus…notepad++…text…
GBK text can be complied directly
without coder33 or convertoutf8.

1 Like

#4

There is no such thing as an “ansii encoding” for text.

0 Likes

#5

(´இ皿இ`) such as ascii gbk…∩_∩

0 Likes

#6

So you want to edit individual bytes. Sublime is a text editor, not a bytes editor. That said you can use e.g. https://packagecontrol.io/packages/HexViewer

1 Like

#7

Thank you very muchヾ(❀╹◡╹)ノ~

0 Likes

#8

It means I can directly use File->Reopen with encoding->GBK, rather than installing third party plugin.

0 Likes

#9

GB18030 is backwards compatible with GBK and has been supported since build 4123 from 2021.

1 Like

#10

Thanks, I’m just looking for keyword “GBK” but missed GB18030

0 Likes