Re: django ifequal crush in chinese

2009-05-11 Thread feng Tang
thanks Karen: i solved the problem, using u''[constant string like chinese charactor]'. i think using u'' means the string should be processed as unicode charactor, inside python ,change all to unicode to process. thanks again --~--~-~--~~~---~--~~ You received

Re: django ifequal crush in chinese

2009-05-09 Thread Karen Tracey
On Sat, May 9, 2009 at 6:10 AM, linvar wrote: > > hello everybody: > i cannot use {% ifequal var1 var2 %} to test if equal when > var1,var2 are UTF8 encoding. but if var1,var2 are ansi that is ok. you > know i am in chinese and alway catche such ugly encoding problem. > anyone can help. >