2011年10月6日 星期四

[python]python 中文


Python处理中文的编码问题 | Leric's Blog
http://www.leric.info/post/94.htm

[Python] Python 3 強力中文處理能力 @ 炎龍老師的 Blog - 國立政治大學 BLOG入口站
http://blog.nccu.edu.tw/blog/53560/365
python中读写文件及中文编码处理方法_我的笔记本_百度空间
http://hi.baidu.com/254584511/blog/item/895546fbc7be47116d22ebe1.html

所以從 Unicode的轉 str,要用encode
從 str轉 unicode的,所以要用decode


http://my-python-note.googlecode.com/svn/trunk/%23python%20%23unicode%20%23convert%20%E7%B7%A8%E7%A2%BC.txt







沒有留言:

張貼留言