摘要:var ajax = function(o){ /* * @o.url Request url * @o.method Set to post or get * @o.async Set async or not * @o.data Parameters to be sending * @o.success Callback function for success * @o.fail Callback function for fail * @o.header Set request http herder * @o.user Set username * @o.pwd Set passwo
阅读全文
08 2011 档案
摘要:如果只是要简单的转换文件编码,打开后 :set fileencodings=utf-8 ,然后 w (存盘)一下即可转化为 utf8 格式, :set fileencodings=cp936 ,然后 w (存盘)一下即可转化为 ANSI 格式。Vim对中文编码的支持1、支持中文编码的基础Vim要更好地支持中文编码需要两个特性:+multi_byte和+iconv,可以用|:version|命令检查当前使用的Vim是否支持,否则的话需要重新编译。2、影响中文编码的设置项Vim中有几个选项会影响对多字节编码的支持:encoding(enc):encoding是Vim的内部使用编码,encodin.
阅读全文