在日常开发中有时候配置文件会出现中文(如config.properties 里有中文),为了避免出现乱码,因而要转成unicode编码. 1.在设置变量的javascript(转换中的JavaScript)中进行编码转换.(推荐使用此方式) if(!Value.isNull()){ var value = new java.lang.String(new java.lang.String(Value.getString()).getBytes("ISO8859-1"),"GB
原文地址:http://www.feelcss.com/sublime-text-2-settings.html // While you can edit this file, it's best to put your changes in // "User/Preferences.sublime-settings", which overrides the settings in here. // // Settings may also be placed in file ty