DO NOT ENCODE WITH HTML ENTITIES.

The only reason that < and > are encoded as &lt; and &gt; is because
these values are represented within an XML <text> element. This is
invalid XML:

<text>This <-- is a test</text>

And this is valid XML:

<text>This &lt;-- is a test</text>

If you use HTML entities, they will only show up correctly in a web
browser. SMS and other media will display &crap;.

-ch

On Mar 10, 10:13 pm, Nicolas Steenhout <[email protected]> wrote:
> > "All" is such an inclusive term, isn't it?  :-)
>
> > ONE OF US!  ONE OF US!
>
> Hey!  I resemble that :)
>
> But I fear we're somewhat West of the OT's question :)
>
> And we still don't know what to do about encoding html entities used
> for accents in languages such as French, Spanish, etc ;)
>
> Nic

Reply via email to