2010年3月26日

unicode编码范围

摘要: (转自:http://wormworm.ycool.com/post.2615056.html)0000-007F:C0控制符及基本拉丁文 (C0 Control and Basic Latin) 0080-00FF:C1控制符及拉丁文补充-1 (C1 Control and Latin 1 Supplement) 0100-017F:拉丁文扩展-A (Latin Extended-A) 0180... 阅读全文

posted @ 2010-03-26 17:38 EyesCode 阅读(491) 评论(0) 推荐(0)

字符编码

摘要: ord, chr, unichr,字符长度为1。另注意 struct的pack和unpack。(url: http://blog.donews.com/tinylee/archive/2007/06/12/1174653.aspx)Python Cook 1.2 字符与数字的相互转换需求:需要把一个字符(ASCII或Unicode)转换为数字编码,或者反过来转换.讨论:对于ASCII字符,可以使用... 阅读全文

posted @ 2010-03-26 17:24 EyesCode 阅读(226) 评论(0) 推荐(0)

eval

摘要: python eval dangerous 阅读全文

posted @ 2010-03-26 17:00 EyesCode 阅读(129) 评论(0) 推荐(0)

导航