Thomas G. Apostolou schrieb:
I have an External Method "CharSetConv" that get a
String_To_Be_Converted, its encoding and the encoding to convert it

I call it like this:
<dtml-in sequence-item>
        <td><dtml-var expr="CharSetConv(_, 'String_To_Be_Converted',
'ISO-8859-7', 'UTF-8')"> </td>
but in the place of 'String_To_Be_Converted' i want to pass <dtml-var
sequence-item>, and i can not find the way to do so.
i have tried to write it like:
<dtml-in sequence-item>
        <td><dtml-var expr="CharSetConv(_, '<dtml-var sequence-item>',
'ISO-8859-7', 'UTF-8')"> </td>
but does not work
Can anyone help please?

Well, DTML sux for a reason ;)

but <dtml-in sequence-item> makes no sense unless you have list in list.

You dont need an external method to convert between charsets:

   expr="_['sequence-item'].decode('iso-8859-7').encode('utf-8')" >


Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to