OK, that´s a good tip. But still I want to use entities. Any ideas? On Fri, 3 Aug 2001 10:58:40 -0500, "Andreas Jung" <andreas@zope.com> wrote :
Why do you want to render the characters as entities. It looks that you are using ISO-8859-1 or another ISO characterset. Most browsers are capable to display other character sets. Instead of converting special characters to entities you should set the character set header of the RESPONSE or use the corresponding http-equiv notation inside the HTML file.
Andreas Jung Zope Corporation
----- Original Message ----- From: <pablo@borges.decode.com.ar> To: <zope@zope.org> Sent: Freitag, 3. August 2001 09:56 Subject: [Zope] Internationalization
Hi people!
Does anybody know a decent way to render non-english-characters (i.e. ¿,¡,á,Á,é,É,í,Í,ó,Ó,ú,Ú,ñ,Ñ, etc.) using html entities format (á Á é and so on)?.
This is what I'm trying to do:
accented_value(:text)= "Hél o' wórld. ¿bláh?, ¡bláh!." <dtml-var "REQUEST[accented_value]" html_quote_it_please>
html_quote does not perform tyhis job.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )