⇤ ← Revision 1 as of 2004-08-12 21:21:57
Size: 255
Comment:
|
Size: 2241
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
大家一起来总结,争取形成一个中文Python 开发常用库来?? | |
Line 10: | Line 11: |
* [http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=495520&page=&view=&sb=&o=&vc=1 在Python中使用中文] * [http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=python&Number=495807&Search=true&Forum=python&Words=gb&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=495520 关于何时需要码制转换的一些考虑] === Web的中文处理 === * [http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=352059&page=&view=&sb=&o=&vc=1 页面的编码选择] * [http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=444261&page=&view=&sb=&o=&vc=1 CGI的Py中文处理] |
|
Line 11: | Line 17: |
= GB与Big5 = | == 中文的支持 == * 如何让Python 支持GB? * [http://www.donews.net/limodou/archive/2004/03/30/9429.aspx 如何让python支持gb2312解码] * [http://pyrecord.freezope.org/download/gb2312.zip/down GB2312解码文件] * 如何让Python 支持Big5? * [http://www.linuxforum.net/forum/gshowflat.php?Cat=&Board=python&Number=284910&page=3&view=collapsed&sb=5&o=all&fpart= 生成GB2312字符集的内码表] * [http://www.linuxforum.net/forum/gshowflat.php?Cat=&Board=python&Number=387330&page=2&view=collapsed&sb=5&o=all&fpart= 实现Plone的GB2312编码] == GB与Big5 == * 如何在Python中进行 GB到Big5的转换? * (代码)[http://pyrecord.freezope.org/download/pygb2big.zip/down GB与Big5码互换] * 如何在Python中进行 Big5到GB的转换? |
Line 13: | Line 29: |
= GB与unicode = | == GB与unicode == * 如何在Python中进行 GB到unicode的转换? * python [http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=python&Number=427317&page=&view=&sb=&o= 中文解决方法] gb2312 <==> utf8 * 如何在Python中进行 unicode到GB的转换? |
Line 15: | Line 34: |
= UTF-8 = | |
Line 17: | Line 35: |
== UTF-8 == * 什么是unicode?什么是UTF-8?UTF-16? * [http://www.donews.net/limodou/archive/2004/04/13/12002.aspx UTF-8编码的文件检测函数] = 内核支持! = * [http://www.chinesepython.org/cgi_bin/cgb.cgi/home.html 中蟒] |
收集 Python 开发中对付中文问题的技巧,代码 大家一起来总结,争取形成一个中文Python 开发常用库来??
-- Zoom.Quiet [DateTime(2004-08-12T21:21:57Z)] TableOfContents
原则
统一到unicode上来吧!
[http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=495520&page=&view=&sb=&o=&vc=1 在Python中使用中文]
Web的中文处理
[http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=352059&page=&view=&sb=&o=&vc=1 页面的编码选择]
[http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=444261&page=&view=&sb=&o=&vc=1 CGI的Py中文处理]
中文的支持
- 如何让Python 支持GB?
[http://www.donews.net/limodou/archive/2004/03/30/9429.aspx 如何让python支持gb2312解码]
[http://pyrecord.freezope.org/download/gb2312.zip/down GB2312解码文件]
- 如何让Python 支持Big5?
[http://www.linuxforum.net/forum/gshowflat.php?Cat=&Board=python&Number=284910&page=3&view=collapsed&sb=5&o=all&fpart= 生成GB2312字符集的内码表]
[http://www.linuxforum.net/forum/gshowflat.php?Cat=&Board=python&Number=387330&page=2&view=collapsed&sb=5&o=all&fpart= 实现Plone的GB2312编码]
GB与Big5
- 如何在Python中进行 GB到Big5的转换?
(代码)[http://pyrecord.freezope.org/download/pygb2big.zip/down GB与Big5码互换]
- 如何在Python中进行 Big5到GB的转换?
GB与unicode
- 如何在Python中进行 GB到unicode的转换?
python [http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=python&Number=427317&page=&view=&sb=&o= 中文解决方法] gb2312 <==> utf8
- 如何在Python中进行 unicode到GB的转换?
UTF-8
- 什么是unicode?什么是UTF-8?UTF-16?
[http://www.donews.net/limodou/archive/2004/04/13/12002.aspx UTF-8编码的文件检测函数]