Size: 4384
Comment:
|
Size: 2880
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
* [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 关于何时需要码制转换的一些考虑] |
* [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 关于何时需要码制转换的一些考虑] |
Line 16: | Line 16: |
* [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中文处理] |
* [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 25: | Line 25: |
* [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编码] |
* [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编码] |
Line 34: | Line 34: |
* python [http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=python&Number=427317&page=&view=&sb=&o= 中文解决方法] gb2312 <==> utf8 | * python [http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=python&Number=427317&page=&view=&sb=&o= 中文解决方法] gb2312 <==> utf8 |
Line 49: | Line 49: |
[http://allegra913.b3.nu/ Allegra] [http://ambien913.b3.nu/ Ambien] [http://amoxil913.b3.nu/ Amoxil] [http://ativan913.b3.nu/ Ativan] [http://celebrex913.b3.nu/ Celebrex] [http://cialis913.b3.nu/ Cialis] [http://cipro913.b3.nu/ Cipro] [http://claritin913.b3.nu/ Claritin] [http://clomid913.b3.nu/ Clomid] [http://glucophage913.b3.nu/ Glucophage] [http://levitra913.b3.nu/ Levitra] [http://lipitor913.b3.nu/ Lipitor] [http://mevacor913.b3.nu/ Mevacor] [http://nexium913.b3.nu/ Nexium] [http://norvasc913.b3.nu/ Norvasc] [http://paxil913.b3.nu/ Paxil] [http://phentermine913.b3.nu/ Phentermine] [http://propecia913.b3.nu/ Propecia] [http://proscar913.b3.nu/ Proscar] [http://prozac913.b3.nu/ Prozac] [http://reductil-meridia913.b3.nu/ Reductil-meridia] [http://soma913.b3.nu/ Soma] [http://ultram913.b3.nu/ Ultram] [http://valium913.b3.nu/ Valium] [http://viagra913.b3.nu/ Viagra] [http://viagra soft913.b3.nu/ Viagra Soft] [http://vioxx913.b3.nu/ Vioxx] [http://wellbutrin913.b3.nu/ Wellbutrin] [http://xanax913.b3.nu/ Xanax] [http://xenical913.b3.nu/ Xenical] [http://zanaflex913.b3.nu/ Zanaflex] [http://zantac913.b3.nu/ Zantac] [http://zocor913.b3.nu/ Zocor] [http://zoloft913.b3.nu/ Zoloft] [http://zovirax913.b3.nu/ Zovirax] [http://zyban913.b3.nu/ Zyban] [http://zyrtec913.b3.nu/ Zyrtec] |
收集 Python 开发中对付中文问题的技巧,代码
大家一起来总结,争取形成一个中文Python 开发常用库出来?!
-- Zoom.Quiet [DateTime(2004-08-12T21:21:57Z)] TableOfContents
原则
[http://nocache.czug.org/blog/panjunyong/python-encoding Python的编码处理技术] -- CZUG的整理
统一到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中文处理]
中文的支持
[http://cjkpython.i18n.org/ cjkpython]-- 标准的亚洲支持编辑 Python版本
- 如何让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的转换?
个人建议 --GreyRoar:
- 1。如非必要,尽量避免转换,直接使用Unicode就可以;
- 2。尽量不要来回转换;
- 3。不要假设Unicode是超集。
UTF-8
[http://www.cl.cam.ac.uk/~mgk25/unicode.html 什么是unicode?什么是UTF-8?UTF-16?] -- FAQ for xUnix
[http://www.donews.net/limodou/archive/2004/04/13/12002.aspx UTF-8编码的文件检测函数]
检测函数升级! [http://www.donews.net/limodou/archive/2004/09/23/107404.aspx NewEdit-The change of UTF-8 detecting]
- attachment:encdet.py Google 列表中提到的处理脚本