Use sublime text2 to open. files such as C, .h, And. TXT are automatically appended. dump suffix. C ,. files such as H cannot be identified normally, and thus syntax coloring cannot be performed normally. It is said on the Internet that the GBK encoding support plug-in is installed, so the plug-in is deleted and will not be automatically added when it is opened. dump suffix, but garbled Chinese characters, because GBK ...., This plug-in is used to solve Chinese garbled characters. What should I do?
In fact, you just need to save it again. For example, I open. h file, which contains Chinese comments. When opening for the first time, sublime text2 identifies. the hfile is a non-UTF-8 file. To prevent recovery in case of exceptions, sublime text2 will automatically append the file. if the dump suffix is enabled, it cannot be recognized. the H file cannot be used for syntax coloring, so now we only need to re-set this. h. save the dump file as. h file, the system will prompt whether to replace the existing. h. You can directly replace the file and save it as. h can be used to identify and color normally. The next time you open it, sublime text2 will not be appended. dump suffix, but directly open. h. dump suffix, as long as you save it again, and save the name from XXX. x. dump is changed to XXX. x.