Hello,
I'm developing an app where there are some strings that have HTML entities
in them, such as:
This is a "Tést"
These strings need to go into a template that is displayed in the iso-8859-1
character set. These strings need to be html escaped so that the quotes don't
break things. When I p
On 3/19/08, Alex Teslik <[EMAIL PROTECTED]> wrote:
> But then I can no longer do all my escaping in the template.
Well, you're effectively handing it a half-escaped string. That's kind
of a special case.
> So I propose that the HTML::Template escaping does not squash HTML entities.
That would
Have you tried using utf8 as the encoding? You will get far more
millage out of utf8 than using entities.
regards,
Mathew
Alex Teslik wrote:
Hello,
I'm developing an app where there are some strings that have HTML entities
in them, such as:
This is a "Tést"
These strings need to go into
I completely agree. Unfortunately I've inherited a lot of the code and it
needs to support all charsets. :(
On Thu, 20 Mar 2008 14:31:54 +1100, Mathew Robertson wrote
> Have you tried using utf8 as the encoding? You will get far more
> millage out of utf8 than using entities.
>
> regards,
> Mat
On Wed, 19 Mar 2008 22:24:36 -0500, Karen wrote
> On 3/19/08, Alex Teslik <[EMAIL PROTECTED]> wrote:
>
> > But then I can no longer do all my escaping in the template.
>
> Well, you're effectively handing it a half-escaped string. That's
> kind of a special case.
I disagree. The string I'm givi