I notice that spring-form JSP tags always escapes attribute value
with character encoding ISO-8859-1
defined in class WebUtils
. It is preferable to align with response character encoding (likely UTF-8
).
Spring Framework taglib should only use "HTML escape function" based on response character encoding.
Comment From: poutsma
Thank you for submitting a PR. I decided to take a simpler approach to solve the issue in e622555, so that we did not have to change ValueFormatter
.