[Zope] Internationalization

Andreas Jung Andreas Jung" <andreas@zope.com
Fri, 3 Aug 2001 10:58:40 -0500


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.
> =BF,=A1,=E1,=C1,=E9,=C9,=ED,=CD,=F3,=D3,=FA,=DA,=F1,=D1, etc.) using ht=
ml entities format
> (&aacute; &Aacute; &eacute; and so on)?.
>
> This is what I'm trying to do:
>
> accented_value(:text)=3D "H=E9l o' w=F3rld. =BFbl=E1h?, =A1bl=E1h!."
> <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 )
>