On 12/8/06, yi huang <[EMAIL PROTECTED]> wrote:
> Why not use unicode object directly ?
>
> dict={"adviser":u"n.顾问, <美> (学生的)指导老师","od":"dd"}
>
because django will auto convert unicode to DEFAULT_CHARSET encoding,
so you got may be not a unicode string, and just like I descibed that
there are some objects which can be convert to string.

-- 
I like python!
UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to