Re: Cheetah and hungarian charset...

2009-02-10 Thread durumdara
Hi! Ok, I forget to set encodings. from Cheetah.Template import Template d = {'a' : 'almás'} tp = Template(# encoding: iso-8859-2\nhello world éááá ${d['a']}!, searchList = {'d': d}) print tp sys.exit() This code is working for me in Windows. dd 2009.02.05. 16:21 keltezéssel, durumdara

Cheetah and hungarian charset...

2009-02-05 Thread durumdara
Hi! I wanna ask that have anyone some exp. with Cheetah and the non-ascii chars? I have a site. The html template documents are saved in ansi format, psp liked them. But the cheetah parser makes ParseError on hungarian characters, like á, é, í, etc. When I remove them, I got good result, but

Re: Cheetah and hungarian charset...

2009-02-05 Thread Diez B. Roggisch
durumdara schrieb: Hi! I wanna ask that have anyone some exp. with Cheetah and the non-ascii chars? I have a site. The html template documents are saved in ansi format, psp liked them. But the cheetah parser makes ParseError on hungarian characters, like á, é, í, etc. When I remove them, I