sublime open Chinese garbled file and open the file appears .dump

First, the Chinese garbled

  The reason: Chinese gbk encoding a file, just installed sublime does not support transcoding

  Solution: Call ctrl + shift + p, enter: install package, Enter, the installation package later in the pop-up search box: ConvertToUTF8 + Codecs33, or GBK Support, select click Install.

Second, open the file is automatically more .dump format

  See the online solution for garbled, flew to three plug-ins are installed, the end of the garbled. But there .dump phenomenon.

  Explained: GBK Support no pre-installed open ASNI format encoded file will be messy, you can open a successful installation restart normal, on .dumpinterpretation of the generated files:

  When you open a non- UTF - 8 Shi file format and contains Chinese characters, Sublime will automatically generate a dump file, file modification process does not modify the original file, only press "save" the will to dump the updated data to the original file inside, close the current editor of the dump file will be automatically deleted dump file.

  Solution: Call ctrl + shift + p, enter: remove. Then select GBK Support uninstall and re-open the file without garbled and .dump file. The reason: ConvertToUTF8 + Codecs33 garbage problem has been solved, but there is a problem GBK Support plug.

Guess you like

Origin www.cnblogs.com/Lusai/p/11355679.html