[Zope] utf-8 values in attributes: non-escaped

listdev@web.de listdev@web.de
Mon, 26 May 2003 09:51:56 +0200


Hi there,

I want to use Page Templates to create an input form with utf-8 values.
Im using tal:attributes statement, but all utf-chars are escaped with=20
HTML-entities. I found the following email on list. The last statement is=20
probably the reason for my problem.=20

It should be possible to use page templates with utf-chars to create=20
text input fields with utf-8 chars. The workaround would be to use=20
textareas or even worse javascript to fill in the values.

I know it is possible to use dtml, but I thought it should be possible to =
use=20
page templates as well

Thanks in advance for any help
Si

> [...]
> The "structure" keyword is only meaningful for TAL statements that can=20
> insert unescaped text (content, replace, and on-error).  Variable=20
> definitions do not insert text, and the text inserted by the attributes=20
> statement must always be escaped (see w3c spec). =20
>=20
> Cheers,
>=20
> Evan @ 4-am
>=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F
UNICEF bittet um Spenden f=FCr die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/=3Fmc=3D021101