05 2013 档案

摘要:Linux显示在Windows编辑过的中文就会显示乱码是由于两个操作系统使用的编码不同所致。Linux下使用的编码是utf8,而Windows使用的是gb18030。因此,解决Linux打开txt文件中文乱码可有如下两种方法。方法一:在附件终端中,进入到txt文件所在目录,使用命令符“iconv -f gb18030-t utf8 1.txt -o 2.txt”把gb18030编码的1.txt转换成utf8的2.txt。这样2.txt就成为Linux支持的编码。方法二:在附件终端中,使用命令符“gconf-editor”,进入环境配置,依次展开“/apps/gedit-2/preference 阅读全文
posted @ 2013-05-21 13:44 邓维 阅读(22810) 评论(0) 推荐(2) 编辑
摘要:from:http://blog.csdn.net/q383965374/article/details/8509153?reload the author write a grate article推荐阅读:《MongoDB:The Definitive Guide》http://book.douban.com/subject/4746684/ 中文版名《MongoDB权威指导》参考:http://huangz.iteye.com/blog/997120 (对mongodb有详细的介绍)http://henghengdh.iteye.com/blog/1752846(常用命令)http:// 阅读全文
posted @ 2013-05-17 12:08 邓维 阅读(18442) 评论(0) 推荐(1) 编辑
摘要:type this in search textboxis:unreadhttp://article.yeeyan.org/view/135495/131446 阅读全文
posted @ 2013-05-03 21:45 邓维 阅读(515) 评论(0) 推荐(0) 编辑
摘要:str = '{a:2,b:3}'json1 = eval( '(' + str + ')' )console.log json1console.log JSON.parse(str)from:http://snandy.iteye.com/blog/615216 阅读全文
posted @ 2013-05-03 09:45 邓维 阅读(198) 评论(0) 推荐(0) 编辑