Hi!
We have iso-8859-2 charset in this country I living.
I used Cheetah, mod_psp, and other template systems before mako, and
these systems are not need unicode input.
We have some special chars ("áéíúüűóöő"), and some others that cannot
handle by simple str().
Because I have variable inputs, possible it is a record-set, or a
dict, or other, now I need to convert each of them in rendering by my
method...
${c.tounicode(d['aaa'])}
It is hard and I have many time to miss this pre-tag... Then I
possible got pylons/mako error - if I used/got some of these chars...
I searching for a solution that can convert the rendered params with
it's unicode version in the background, without many typing...
In mako's discuss they said that I need my own filter to do this.
http://groups.google.com/group/mako-discuss/browse_thread/thread/1756340468a70ee1
This would be good, but I don't know, how to call default mako
renderer with this filtering method.
I don't know, it is possible or not, and if possible, how.
If not, I need to make my own render procedure - I think...
GURUS - please help me!
Thanks for it:
dd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---