2006年09月13日 星期三 11:43
Django的学习过程中,边学边编边用的Blog,呵呵,欢迎光临,顺便抓抓bug 放在了DreamHost上面,速度不怎么样,但还凑合了 网址: http://django.limonlife.com/blog/limon/ -------------- next part -------------- q?????!???,r??m??m????+a?w'???z???_?h?????mi?z{l?m4????????g??f
2006年09月13日 星期三 13:53
真不错! 在 06-9-13,limon lin<limon7在gmail.com> 写道: > Django的学习过程中,边学边编边用的Blog,呵呵,欢迎光临,顺便抓抓bug > 放在了DreamHost上面,速度不怎么样,但还凑合了 > 网址: http://django.limonlife.com/blog/limon/ -- _______________________________________________ http://guoyong.org
2006年09月13日 星期三 14:48
On 9/13/06, wolfg <wolfg1969在gmail.com> wrote: > 真不错! > 看看我能不能回复……发了很多次贴子都无效,但是我已经订阅了 我的django app老是有问题,no module named index...我确信我定义了index函数 > 在 06-9-13,limon lin<limon7在gmail.com> 写道: > > Django的学习过程中,边学边编边用的Blog,呵呵,欢迎光临,顺便抓抓bug > > 放在了DreamHost上面,速度不怎么样,但还凑合了 > > 网址: http://django.limonlife.com/blog/limon/ > -- > _______________________________________________ > > http://guoyong.org > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -- Yours, fluke fluke在sfcube.net http://blog.ospattern.net
2006年09月13日 星期三 15:34
limon: ÄãµÄÍøÕ¾ÓЩ¶´£¬¿ìÍêÉÆ ÔÚ06-9-13£¬limon lin <limon7在gmail.com> дµÀ£º > > DjangoµÄѧϰ¹ý³ÌÖУ¬±ßѧ±ß±à±ßÓõÄBlog£¬ºÇºÇ£¬»¶Ó¹âÁÙ£¬Ë³±ã×¥×¥bug > ·ÅÔÚÁËDreamHostÉÏÃ棬ËٶȲ»ÔõôÑù£¬µ«»¹´ÕºÏÁË > ÍøÖ·£º http://django.limonlife.com/blog/limon/ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20060913/c9a4bddd/attachment.htm
2006年09月13日 星期三 16:59
在声明为# -*- coding: utf-8 -*-的文件(也是保存成utf8格式)里面,怎么把一个gb2312的字符转化成utf8的? 致 礼! charles huang hyy在fjii.com 2006-09-13
2006年09月13日 星期三 17:04
有漏洞?哪里? 在06-9-13,刘国栋 <liuguodong at gmail.com> 写道: > > limon: > 你的网站有漏洞,快完善 > > 在06-9-13,limon lin <limon7 at gmail.com> 写道: > > > > Django的学习过程中,边学边编边用的Blog,呵呵,欢迎光临,顺便抓抓bug > > 放在了DreamHost上面,速度不怎么样,但还凑合了 > > 网址: http://django.limonlife.com/blog/limon/ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20060913/3df820c4/attachment.html
2006年09月13日 星期三 17:17
On 9/13/06, charles huang <hyy在fjii.com> wrote: > 在声明为# -*- coding: utf-8 -*-的文件(也是保存成utf8格式)里面,怎么把一个gb2312的字符转化成utf8的? > 一个程序一旦使用了某种编码声明,说明对于非ascii码字符串必须要使用这种编码来保存。不会自动转换。 -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad
2006年09月13日 星期三 17:33
limodou,您好! 那碰到这种问题改怎么处理? ======= 2006-09-13 17:17:21 您在来信中写道:======= >On 9/13/06, charles huang <hyy在fjii.com> wrote: >> 在声明为# -*- coding: utf-8 -*-的文件(也是保存成utf8格式)里面,怎么把一个gb2312的字符转化成utf8的? >> >一个程序一旦使用了某种编码声明,说明对于非ascii码字符串必须要使用这种编码来保存。不会自动转换。 > >-- >I like python! >My Blog: http://www.donews.net/limodou >UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad >UliPad Maillist: http://groups.google.com/group/ulipad >_______________________________________________ >python-chinese >Post: send python-chinese在lists.python.cn >Subscribe: send subscribe to python-chinese-request在lists.python.cn >Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn >Detail Info: http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! charles huang hyy在fjii.com TEL: 0591-3333169-212 2006-09-13
2006年09月13日 星期三 17:39
> > 在声明为# -*- coding: utf-8 -*-的文件(也是保存成utf8格式)里面,怎么把一个gb2312的字符转化成utf8的? > str.decode('gb2312').encode('utf-8') 应该可以吧. -- http://codeplayer.blogspot.com/ -------------- next part -------------- qÓ0¶µ§!éíÁ«,r»mçTD¸m¶ÿ§+a¢w'þ©z¹_éÊØhÈbëý«miÈfz{lÿm4ëOußööuíå¯Ú¶Ög§¶f
2006年09月13日 星期三 17:39
On 9/13/06, charles huang <hyy在fjii.com> wrote: > limodou,您好! > > 那碰到这种问题改怎么处理? > 源程序与程序的处理是不同的概念。源程序当前需要与编码声明一致的,因此你如果声明为utf-8,就是保存文件为utf-8编码。在程序中可以对gb2312进行编码处理。邮件列表和网上有太多关于这方面的东西,建议你搜一搜。而且你的问题并不清楚。 -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad
2006年09月13日 星期三 18:54
limodou,您好! 情况是这样的,在django中,要处理一些get网页获取的数据(都是gb2312编码的),程序原文件是ascii编码,文件头无特别声明coding的,用unicode(str,'gb2312')转化后,django一直报:'ascii' codec can't decode byte 0xe5 in position 5: ordinal not in range(128)错误 程序原文件改成utf8编码,头文件声明为coding utf8的,用unicode(str,'gb2312')也一样报这个错误。 django中该怎么处理这些gb2312编码的字符? ======= 2006-09-13 17:39:50 您在来信中写道:======= >On 9/13/06, charles huang <hyy在fjii.com> wrote: >> limodou,您好! >> >> 那碰到这种问题改怎么处理? >> >源程序与程序的处理是不同的概念。源程序当前需要与编码声明一致的,因此你如果声明为utf-8,就是保存文件为utf-8编码。在程序中可以对gb2312进行编码处理。邮件列表和网上有太多关于这方面的东西,建议你搜一搜。而且你的问题并不清楚。 > >-- >I like python! >My Blog: http://www.donews.net/limodou >UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad >UliPad Maillist: http://groups.google.com/group/ulipad >_______________________________________________ >python-chinese >Post: send python-chinese在lists.python.cn >Subscribe: send subscribe to python-chinese-request在lists.python.cn >Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn >Detail Info: http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! charles huang hyy在fjii.com TEL: 0591-3333169-212 2006-09-13
2006年09月13日 星期三 19:12
charles huang,您好! 解决了,考,后面加个encode("utf8")声明是utf8编码就可以了,晕菜! ======= 2006-09-13 18:54:41 您在来信中写道:======= >limodou,您好! > > 情况是这样的,在django中,要处理一些get网页获取的数据(都是gb2312编码的),程序原文件是ascii编码,文件头无特别声明coding的,用unicode(str,'gb2312')转化后,django一直报:'ascii' codec can't decode byte 0xe5 in position 5: ordinal not in range(128)错误 >程序原文件改成utf8编码,头文件声明为coding utf8的,用unicode(str,'gb2312')也一样报这个错误。 > django中该怎么处理这些gb2312编码的字符? > >======= 2006-09-13 17:39:50 您在来信中写道:======= > >>On 9/13/06, charles huang <hyy在fjii.com> wrote: >>> limodou,您好! >>> >>> 那碰到这种问题改怎么处理? >>> >>源程序与程序的处理是不同的概念。源程序当前需要与编码声明一致的,因此你如果声明为utf-8,就是保存文件为utf-8编码。在程序中可以对gb2312进行编码处理。邮件列表和网上有太多关于这方面的东西,建议你搜一搜。而且你的问题并不清楚。 >> >>-- >>I like python! >>My Blog: http://www.donews.net/limodou >>UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad >>UliPad Maillist: http://groups.google.com/group/ulipad >>_______________________________________________ >>python-chinese >>Post: send python-chinese在lists.python.cn >>Subscribe: send subscribe to python-chinese-request在lists.python.cn >>Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn >>Detail Info: http://python.cn/mailman/listinfo/python-chinese > >= = = = = = = = = = = = = = = = = = = = > > > 致 >礼! > > > charles huang > hyy在fjii.com > TEL: 0591-3333169-212 > 2006-09-13 > >_______________________________________________ >python-chinese >Post: send python-chinese在lists.python.cn >Subscribe: send subscribe to python-chinese-request在lists.python.cn >Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn >Detail Info: http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! charles huang hyy在fjii.com TEL: 0591-3333169-212 2006-09-13
2006年09月14日 星期四 10:02
µ±È»²»ÄÜ˵ÁË¡£ÒªÖ±½Ó·¢Ë½ÈËÓʼþÎÊ¡£ On 9/13/06, limon lin <limon7在gmail.com> wrote: > > ÓЩ¶´£¿ÄÄÀ > > ÔÚ06-9-13£¬Áõ¹ú¶° <liuguodong在gmail.com> дµÀ£º > > > limon: > > ÄãµÄÍøÕ¾ÓЩ¶´£¬¿ìÍêÉÆ > > > > ÔÚ06-9-13£¬limon lin <limon7在gmail.com > дµÀ£º > > > > > > DjangoµÄѧϰ¹ý³ÌÖУ¬±ßѧ±ß±à±ßÓõÄBlog£¬ºÇºÇ£¬»¶Ó¹âÁÙ£¬Ë³±ã×¥×¥bug > > > ·ÅÔÚÁËDreamHostÉÏÃ棬ËٶȲ»ÔõôÑù£¬µ«»¹´ÕºÏÁË > > > ÍøÖ·£º http://django.limonlife.com/blog/limon/ > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20060914/ac1dff71/attachment-0001.htm
2006年09月14日 星期四 12:20
有什么漏洞发到我邮箱吧 刘兄 在06-9-14,Luo Ben <benluo at gmail.com> 写道: > > 当然不能说了。要直接发私人邮件问。 > > > On 9/13/06, limon lin <limon7 at gmail.com> wrote: > > > > 有漏洞?哪里? > > > > 在06-9-13,刘国栋 <liuguodong at gmail.com > 写道: > > > > > limon: > > > 你的网站有漏洞,快完善 > > > > > > 在06-9-13,limon lin < limon7 at gmail.com > 写道: > > > > > > > > Django的学习过程中,边学边编边用的Blog,呵呵,欢迎光临,顺便抓抓bug > > > > 放在了DreamHost上面,速度不怎么样,但还凑合了 > > > > 网址: http://django.limonlife.com/blog/limon/ > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese at lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request at lists.python.cn > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- next part -------------- q?????!???,r??m??m????+a?w'???z???_?h?????mi?z{l?m4??i?q???g??f
Zeuux © 2025
京ICP备05028076号