[OWASP-ESAPI] Does DefaultEncoder handle UTF-8?
lei.chen.2004 at gmail.com
Tue Mar 31 00:08:33 EDT 2009
We have a form that takes user data that includes people's names in
Chinese/Japanese. I used
ESAPI.encoder().encodeForHTML()/encodeForHTMLAttribute() to encode the input
and display back to browser to show whether there is any mandatory fields
that are missing. The names seem to be double-encoded and does not display
properly. Is this the correct behavior? How do I make the names display in
the original form?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OWASP-ESAPI