UTF8格式就不会乱码
你可以打开Preferences.sublime-settings,发现缺省设置如下,所以你的文件需要以UTF-8保存,用Sublime才不会乱码
// Encoding used when saving new files, and files opened with an undefin
// encoding (e.g., plain ascii files). If a file is opened with a specif
// encoding (either detected or given explicitly), this setting will be
// ignored, and the file will be saved with the encoding it was opened
// with.
"default_encoding": "UTF-8",
http://jingyan.baidu.com/article/fc07f98972ee0a12fee51943.html