On Aug 28, 2012, at 14:29 , Scott Ferguson <f...@caucho.com> wrote:
> On 08/28/2012 01:50 PM, Rick Mann wrote:
>> Sorry, I should've been more clear.
>> The problem I'm experiencing is not that the headers aren't being properly
>> set. It's that UTF-8 in my source page is getting mangled. In this case, a
>> copyright symbol (©), while still rendered in the page, is preceded by a
>> capital A with an accent (not sure of the exact character) when finally
>> rendered in Safari or FireFox.
>> Somewhere in the long chain of processing, a conversion is happening.
> Have you tried setting the
> <character-encoding>utf-8</character-encoding> in the resin.xml?
I had not, but I've put that in now.
I tried to first reproduce the problem as originally described, but I could
not. It very clearly and reliably would reproduce as originally described, but
I've made so many changes to the pages since then that whatever triggers the
behavior seems to be permanently "correct."
In any case, I've added the character-encoding tag to my resin.xml file.
Why, oh why, did they standardize on iso-8859-1?
> When parsing the JSP page, Resin doesn't look at the dynamic value of
> the character encoding. And the default value is iso-8859-1 according to
> the spec. So when the page is parsed, that value needs to be set, either
> in the page itself or the <character-encoding>. Filters don't matter in
> this case.
> -- Scott
> resin-interest mailing list
resin-interest mailing list