After poking around a bit, it seems I left out a key detail: this only seems to be happening when I use JSTL <c:set>
along with my Spring tags where the encoding does not work properly. As it turns out, when using <c:out>
, you need to accompany it with the escapeXml="false"
attribute. Here is what I did and it seems to be working appropriately now:
This is set in one page
<c:set var="headerScreenTitle">
<spring:message code='district.manager.review.and.approval' />
</c:set>
This is consumed in an imported page
<c:out value="${headerScreenTitle}" escapeXml="false" />
And it handsomely gives me this:
REVISIÓN Y APROBACIÓN DEL GERENTE DE DISTRITO
Thanks everyone for your responses!