Python论坛  - 讨论区

标题:[python-chinese] django操作数据库不支持汉字问题

2007年11月01日 星期四 08:30

朽木klutz chumpklutz在gmail.com
星期四 十一月 1 08:30:08 HKT 2007

django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ

Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071101/58793af4/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 08:42

大郎 iexper在gmail.com
星期四 十一月 1 08:42:34 HKT 2007

Õâ¿ÉÄÜÓëÄãµÄmodelsÅäÖÃÓйØ, ×ֶγ¤¶È²»¹»? ¼ì²éÒ»ÏÂ?

On 11/1/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ
>
> Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
> ¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
>
> _______________________________________________
> 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
>



-- 
¼á¾öÒªÒÔòȡÈË!
×îºÃµÄÍƹã±ãÊÇʵ¼ÊÓ¦ÓÃ, ²¢¼Ó"powered by abc..."
ÕÒpythonÐéÄâÖ÷»ú
http://groups.google.com/group/python-cn
http://webpy.org
http://twitter.com/qichangxing
Gtalk: iexper(at)gmail.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071101/4237dc2d/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 08:55

朽木klutz chumpklutz在gmail.com
星期四 十一月 1 08:55:06 HKT 2007

ÎÒµÄ×ֶ㤶ÈΪ30
¿ÉÊÇÎÒÔÚadminÒ³ÃæÀïÖ»ÊäÈëÁËÒ»¸öºº×Ö°¡


ÔÚ07-11-1£¬´óÀÉ <iexper在gmail.com> дµÀ£º
>
> Õâ¿ÉÄÜÓëÄãµÄmodelsÅäÖÃÓйØ, ×ֶγ¤¶È²»¹»? ¼ì²éÒ»ÏÂ?
>
>  On 11/1/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> >  django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ
> >
> > Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
> > ¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> ¼á¾öÒªÒÔòȡÈË!
> ×îºÃµÄÍƹã±ãÊÇʵ¼ÊÓ¦ÓÃ, ²¢¼Ó"powered by abc..."
> ÕÒpythonÐéÄâÖ÷»ú
> http://groups.google.com/group/python-cn
> http://webpy.org
> http://twitter.com/qichangxing
> Gtalk: iexper(at)gmail.com
> _______________________________________________
> 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/20071101/7acb2a01/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 09:02

limodou limodou在gmail.com
星期四 十一月 1 09:02:32 HKT 2007

On 11/1/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 我的字段长度为30
> 可是我在admin页面里只输入了一个汉字啊
>
只能说仔细检查了。数据库的编码与模板编码最好全部一致。

-- 
I like python!
UliPad <>: http://code.google.com/p/ulipad/
meide <>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 10:01

leopay leopay在gmail.com
星期四 十一月 1 10:01:53 HKT 2007

limoduÕý½â£¬
ÊÇÒòΪÊý¾Ý¿âµÄ±àÂëÓëÄ£°å±àÂë²»Ò»ÖÂ
×îºÃͳһ¶¼ÓÃutf8



ÔÚ07-11-1£¬limodou <limodou在gmail.com> дµÀ£º
>
> On 11/1/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > ÎÒµÄ×ֶ㤶ÈΪ30
> > ¿ÉÊÇÎÒÔÚadminÒ³ÃæÀïÖ»ÊäÈëÁËÒ»¸öºº×Ö°¡
> >
> Ö»ÄÜ˵×Ðϸ¼ì²éÁË¡£Êý¾Ý¿âµÄ±àÂëÓëÄ£°å±àÂë×îºÃÈ«²¿Ò»Ö¡£
>
> --
> I like python!
> UliPad <>: http://code.google.com/p/ulipad/
> meide <>: http://code.google.com/p/meide/
> My Blog: http://www.donews.net/limodou
> _______________________________________________
> 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/20071101/795c6b6c/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 10:04

朽木klutz chumpklutz在gmail.com
星期四 十一月 1 10:04:51 HKT 2007

ÎÒÔÚ×Ô¶¨ÒåµÄÄ£°åÖÐÏÔʾºº×ÖÊÇOKµÄ

ÎÒÔÚdjango×Ô´øµÄadminÀïά»¤Êý¾ÝÊDz»ÄÜaddºº×Ö

ÎÒÔÙcheckһϰÉ


ÔÚ07-11-1£¬leopay <leopay在gmail.com> дµÀ£º
>
> limoduÕý½â£¬
> ÊÇÒòΪÊý¾Ý¿âµÄ±àÂëÓëÄ£°å±àÂë²»Ò»ÖÂ
> ×îºÃͳһ¶¼ÓÃutf8
>
>
>
> ÔÚ07-11-1£¬limodou <limodou在gmail.com> дµÀ£º
> >
> > On 11/1/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > > ÎÒµÄ×ֶ㤶ÈΪ30
> > > ¿ÉÊÇÎÒÔÚadminÒ³ÃæÀïÖ»ÊäÈëÁËÒ»¸öºº×Ö°¡
> > >
> > Ö»ÄÜ˵×Ðϸ¼ì²éÁË¡£Êý¾Ý¿âµÄ±àÂëÓëÄ£°å±àÂë×îºÃÈ«²¿Ò»Ö¡£
> >
> > --
> > I like python!
> > UliPad <>: http://code.google.com/p/ulipad/
> > meide <>: http://code.google.com/p/meide/
> > My Blog: http://www.donews.net/limodou
> > _______________________________________________
> > 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/20071101/d30a41c7/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 11:52

Fluke fluke.l在gmail.com
星期四 十一月 1 11:52:33 HKT 2007

²»ÖªµÀËû¸ù¾ÝʲôÀ´Åжϵġ£¿ÉÄÜÒª¿´¿´djangoÔ´Âë²ÅºÃ½â¾ö°Ñ¡£

ÊÔÊÔÏÈ¿´¿´htmlÒ³ÃæÔ´ÂëmetaÉϵıàÂëºÍä¯ÀÀÆ÷µ±Ç°Ê¹ÓõıàÂë¶Ô²»¶Ô¡£

»¹ÓÐmodelÉÏÓÃÁËʲôÀàÐ͵Ä×Ö¶Î?

ÁíÍ⣬Èç¹ûÊÇÏÈͨ¹ý½øÐÐÊý¾Ý¿â²åÈëÀ´Åжϳ¬³¤£¨ÎÒ²»ÖªµÀÄܲ»ÄÜͨ¹ýÕâ¸öÀ´Åжϣ©µÄ»°£¬ÄÇÒ²ÐíÊÇÊý¾Ý¿â±àÂëÉèÖõÄÎÊÌâ°É£¬ÒªÊÇÕâÑùµÄ»°£¬ÏÈÁÙʱ°ÑÊý¾Ý¿â»»³Ésqlite3ÊÔÊÔ¡£

²»¹ýÎҼǵÃmysqlµÄ±àÂëÉèÖúͿͻ§¶Ë±àÂë²»Ò»¶¨ÊÇÒªÒ»Öµģ¬²¢ÇÒÔÚuse databaseÒԺ󣬿ÉÒÔÓÃÒ»¾ä»°Ö¸¶¨±àÂë¡£set names
charset..

On 11/1/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ
>
> Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
> ¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
>
> _______________________________________________
> 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
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071101/5d980ff8/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 12:25

yuan xuan xuanyuan14.leo在gmail.com
星期四 十一月 1 12:25:10 HKT 2007

字符集问题一直是个全球性的头疼问题啊。至今尚未完全搞清爽。。。汗
哪位能给个关于字符集表述最清楚的详解?

在07-11-1,Fluke <fluke.l在gmail.com> 写道:
>
> 不知道他根据什么来判断的。可能要看看django源码才好解决把。
>
> 试试先看看html页面源码meta上的编码和浏览器当前使用的编码对不对。
>
> 还有model上用了什么类型的字段?
>
>
> 另外,如果是先通过进行数据库插入来判断超长(我不知道能不能通过这个来判断)的话,那也许是数据库编码设置的问题吧,要是这样的话,先临时把数据库换成sqlite3试试。
>
> 不过我记得mysql的编码设置和客户端编码不一定是要一致的,并且在use database以后,可以用一句话指定编码。set names
> charset..
>
> On 11/1/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> >
> > django操作数据库不支持汉字问题
> >
> > 数据库设置的都是utf-8,我在settings文件里的lanaguage设置的是zh-cn,
> > 可是我在管理界面里输入数据时汉字总是不行老是提示数据太长,怎么办啊??
> >
> > _______________________________________________
> > 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
> _______________________________________________
> 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/20071101/8b5213a9/attachment-0001.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月01日 星期四 17:37

Fluke fluke.l在gmail.com
星期四 十一月 1 17:37:56 HKT 2007

mysql´æ´¢µÄcharsetÓ¦¸ÃÊÇÔÚ±àÒëʱºòÖ¸¶¨µÄ£¬Ä¬ÈÏÓ¦¸ÃÊÇlatin1£¬¶ø¶ÔÓÚÿ¸ö±íÉõÖÁÿ¸ö×Ö¶ÎÖ¸¶¨ÌØÊâµÄcharsetÒ²ÊDZ»Ö§³ÖµÄ£¬ÖмäµÄת»»¹ý³ÌÄã²»ÐèÒªÖªµÀ¡£

ÔÚ²éѯÊý¾Ý¿â֮ǰ£¬ÏȲéѯ(query)һϠset names $charset; ¾ÍokÁË $charset ÊÇ cp932, gbk, utf8
µÈ¡£

òËÆÕâ¸ö²»ÊÇÈ«ÇòÐÔÎÊÌ⣬·ÇÀ­¶¡Óïϵ±È½ÏÍ·Í´¶øÒÑ¡£

еÄmysql(Ó¦¸ÃÊÇ´Ó4.1¿ªÊ¼)¼ÙÈçÁËcollationµÄÖ§³Ö£¬Ó¦¸ÃÊÇÓÃÀ´±È½ÏÓõġ£


On 11/1/07, yuan xuan <xuanyuan14.leo在gmail.com> wrote:
>
> ×Ö·û¼¯ÎÊÌâÒ»Ö±ÊǸöÈ«ÇòÐÔµÄÍ·ÌÛÎÊÌâ°¡¡£ÖÁ½ñÉÐδÍêÈ«¸ãÇåˬ¡£¡£¡£º¹
> ÄÄλÄܸø¸ö¹ØÓÚ×Ö·û¼¯±íÊö×îÇå³þµÄÏê½â£¿
>
> ÔÚ07-11-1£¬Fluke <fluke.l在gmail.com> дµÀ£º
> >
> > ²»ÖªµÀËû¸ù¾ÝʲôÀ´Åжϵġ£¿ÉÄÜÒª¿´¿´djangoÔ´Âë²ÅºÃ½â¾ö°Ñ¡£
> >
> > ÊÔÊÔÏÈ¿´¿´htmlÒ³ÃæÔ´ÂëmetaÉϵıàÂëºÍä¯ÀÀÆ÷µ±Ç°Ê¹ÓõıàÂë¶Ô²»¶Ô¡£
> >
> > »¹ÓÐmodelÉÏÓÃÁËʲôÀàÐ͵Ä×Ö¶Î?
> >
> >
> > ÁíÍ⣬Èç¹ûÊÇÏÈͨ¹ý½øÐÐÊý¾Ý¿â²åÈëÀ´Åжϳ¬³¤£¨ÎÒ²»ÖªµÀÄܲ»ÄÜͨ¹ýÕâ¸öÀ´Åжϣ©µÄ»°£¬ÄÇÒ²ÐíÊÇÊý¾Ý¿â±àÂëÉèÖõÄÎÊÌâ°É£¬ÒªÊÇÕâÑùµÄ»°£¬ÏÈÁÙʱ°ÑÊý¾Ý¿â»»³Ésqlite3ÊÔÊÔ¡£
> >
> > ²»¹ýÎҼǵÃmysqlµÄ±àÂëÉèÖúͿͻ§¶Ë±àÂë²»Ò»¶¨ÊÇÒªÒ»Öµģ¬²¢ÇÒÔÚuse databaseÒԺ󣬿ÉÒÔÓÃÒ»¾ä»°Ö¸¶¨±àÂë¡£set names
> > charset..
> >
> > On 11/1/07, Ðàľklutz < chumpklutz在gmail.com> wrote:
> > >
> > >  django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ
> > >
> > > Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
> > > ¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
> > >
> > > _______________________________________________
> > > 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
> > _______________________________________________
> > 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
>



-- 
Yours,
  fluke
fluke在sfcube.net
http://blog.ospattern.net
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071101/c66c0a1e/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 08:40

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 08:40:49 HKT 2007

OK£¬ÒѾ­¸ã¶¨ÁË

ÔÚ07-11-1£¬Fluke <fluke.l在gmail.com> дµÀ£º
>
>
> mysql´æ´¢µÄcharsetÓ¦¸ÃÊÇÔÚ±àÒëʱºòÖ¸¶¨µÄ£¬Ä¬ÈÏÓ¦¸ÃÊÇlatin1£¬¶ø¶ÔÓÚÿ¸ö±íÉõÖÁÿ¸ö×Ö¶ÎÖ¸¶¨ÌØÊâµÄcharsetÒ²ÊDZ»Ö§³ÖµÄ£¬ÖмäµÄת»»¹ý³ÌÄã²»ÐèÒªÖªµÀ¡£
>
> ÔÚ²éѯÊý¾Ý¿â֮ǰ£¬ÏȲéѯ(query)һϠset names $charset; ¾ÍokÁË $charset ÊÇ cp932, gbk, utf8
> µÈ¡£
>
> òËÆÕâ¸ö²»ÊÇÈ«ÇòÐÔÎÊÌ⣬·ÇÀ­¶¡Óïϵ±È½ÏÍ·Í´¶øÒÑ¡£
>
> еÄmysql(Ó¦¸ÃÊÇ´Ó4.1¿ªÊ¼)¼ÙÈçÁËcollationµÄÖ§³Ö£¬Ó¦¸ÃÊÇÓÃÀ´±È½ÏÓõġ£
>
>
>  On 11/1/07, yuan xuan <xuanyuan14.leo在gmail.com> wrote:
> >
> > ×Ö·û¼¯ÎÊÌâÒ»Ö±ÊǸöÈ«ÇòÐÔµÄÍ·ÌÛÎÊÌâ°¡¡£ÖÁ½ñÉÐδÍêÈ«¸ãÇåˬ¡£¡£¡£º¹
> > ÄÄλÄܸø¸ö¹ØÓÚ×Ö·û¼¯±íÊö×îÇå³þµÄÏê½â£¿
> >
> > ÔÚ07-11-1£¬Fluke <fluke.l在gmail.com> дµÀ£º
> > >
> > > ²»ÖªµÀËû¸ù¾ÝʲôÀ´Åжϵġ£¿ÉÄÜÒª¿´¿´djangoÔ´Âë²ÅºÃ½â¾ö°Ñ¡£
> > >
> > > ÊÔÊÔÏÈ¿´¿´htmlÒ³ÃæÔ´ÂëmetaÉϵıàÂëºÍä¯ÀÀÆ÷µ±Ç°Ê¹ÓõıàÂë¶Ô²»¶Ô¡£
> > >
> > > »¹ÓÐmodelÉÏÓÃÁËʲôÀàÐ͵Ä×Ö¶Î?
> > >
> > >
> > > ÁíÍ⣬Èç¹ûÊÇÏÈͨ¹ý½øÐÐÊý¾Ý¿â²åÈëÀ´Åжϳ¬³¤£¨ÎÒ²»ÖªµÀÄܲ»ÄÜͨ¹ýÕâ¸öÀ´Åжϣ©µÄ»°£¬ÄÇÒ²ÐíÊÇÊý¾Ý¿â±àÂëÉèÖõÄÎÊÌâ°É£¬ÒªÊÇÕâÑùµÄ»°£¬ÏÈÁÙʱ°ÑÊý¾Ý¿â»»³Ésqlite3ÊÔÊÔ¡£
> > >
> > > ²»¹ýÎҼǵÃmysqlµÄ±àÂëÉèÖúͿͻ§¶Ë±àÂë²»Ò»¶¨ÊÇÒªÒ»Öµģ¬²¢ÇÒÔÚuse databaseÒԺ󣬿ÉÒÔÓÃÒ»¾ä»°Ö¸¶¨±àÂë¡£set names
> > > charset..
> > >
> > > On 11/1/07, Ðàľklutz < chumpklutz在gmail.com > wrote:
> > > >
> > > >  django²Ù×÷Êý¾Ý¿â²»Ö§³Öºº×ÖÎÊÌâ
> > > >
> > > > Êý¾Ý¿âÉèÖõĶ¼ÊÇutf-8,ÎÒÔÚsettingsÎļþÀïµÄlanaguageÉèÖõÄÊÇzh-cn,
> > > > ¿ÉÊÇÎÒÔÚ¹ÜÀí½çÃæÀïÊäÈëÊý¾Ýʱºº×Ö×ÜÊDz»ÐÐÀÏÊÇÌáʾÊý¾ÝÌ«³¤£¬Ôõô°ì°¡£¿£¿
> > > >
> > > > _______________________________________________
> > > > 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
> > > _______________________________________________
> > > 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
> >
>
>
>
> --
> Yours,
>   fluke
> fluke在sfcube.net
> http://blog.ospattern.net
>
> _______________________________________________
> 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/20071102/1c0eb0fd/attachment-0001.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号