Hello,

what's the best way to encode values (e.g. family_name in a person object)
stored in the velocity context to display in HTML?
I just wrote a utility which translates characters into HTML numeric
entities (e.g.  � -> &#228),
that means, that every value stored in the context should be translated
before storing it.
Later i checked the EventCartridge (the idea was to intercept writing the
HTML rendering) - is that the correct way do do it or exists simpler and
better way to accomplish this task.

Thanks in advance for any help.

Reto Badertscher

Reply via email to