摘要: Preferences.sublime-settings文件:// 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 type specific options files, for// example, in Packages/Python/Python.sublime-settings 阅读全文
posted @ 2013-02-04 19:54 新的凯斯 阅读(219) 评论(0) 推荐(0) 编辑
摘要: mysql自己有个csv引擎,可以通过这个引擎来实现将csv中的数据导入到mysql数据库中,并且速度比通过php或是python写的批处理程序快的多。具体的实现代码示例:load data infile '/tmp/file.csv' into table _tablename (set character utf8)fields terminated by ','enclosed by '"'lines terminated by '\r\n';这段代码中涉及的一些关键字的解释如下:fields terminated 阅读全文
posted @ 2013-02-04 19:49 新的凯斯 阅读(683) 评论(0) 推荐(0) 编辑
摘要: Unicode(统一码、万国码、单一码)是一种在计算机上使用的字符编码,它为每种语言中的每个字符设定了统一并且唯一的二进制编码,来满足跨平台、跨语言进行文本转换、处理的要求。unicode是基于通用字符集(Universal Character Set)的标准来发展的,现在UCS主要有两种表示方式,一种是UCS-2使用两个字节编码,另一种是UCS-4使用四个字节编码。目前大部分的unicode主要是使用UCS-2标准来的。unicode 通过对每个字符进行定义,比如"经"的编码是)0x7ECF,注意字符编码一般使用十六进制来表示,为了和十进制区分,十六进制以0x开头。uni 阅读全文
posted @ 2013-02-04 18:47 新的凯斯 阅读(353) 评论(0) 推荐(0) 编辑