学无止境

——把简单的知识用好,也把东西做的简单

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  21 随笔 :: 0 文章 :: 85 评论 :: 16万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

08 2011 档案

摘要: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 阅读全文
posted @ 2011-08-25 00:02 JaiHo 阅读(476) 评论(2) 推荐(0) 编辑

摘要:如果只是要简单的转换文件编码,打开后 :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. 阅读全文
posted @ 2011-08-24 23:58 JaiHo 阅读(17176) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示