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
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.
>
2 matches
Mail list logo