Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
Thank you. Adding this: *.jsp UTF-8 To the bottom of my web.xml seems to have done the trick. Initially, I had the url-pattern "/*", but that broke the mapping of "/" (which was supposed t

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Matt Pangaro
You could also use a jsp prelude to include whatever directives you need. A bit of a hack, but it gets the job done. Sent from my cool new iPad Mini > On Feb 28, 2014, at 3:22 PM, "Knut Forkalsrud" > wrote: > > Traditionally the JSP spec has mandated ISO-8859-1 if nothing else is > explici

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Knut Forkalsrud
Traditionally the JSP spec has mandated ISO-8859-1 if nothing else is explicitly specified. However I notice recent versions have a facility to specify it more broadly in web.xml Case in point is section JSP.3.3.4 in version 2.2 of the spec: http://download.oracle.com/otn-pub/jcp/jsp-2.2-mrel-eval-

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
On Feb 28, 2014, at 08:55 , Scott Ferguson wrote: > On 2/28/14, 4:47 AM, Rick Mann wrote: >> Hmm. Seems like if I <%@ include a file that contains >> >> <%@ page contentType="text/html; charset=UTF-8"%> >> >> Then it doesn't work. If I include that <@ page line directly, it gets the >> encodi

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Scott Ferguson
On 2/28/14, 4:47 AM, Rick Mann wrote: Hmm. Seems like if I <%@ include a file that contains <%@ page contentType="text/html; charset=UTF-8"%> Then it doesn't work. If I include that <@ page line directly, it gets the encoding right. I believe that's correct, though. The top page is responsib

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
Hmm. Seems like if I <%@ include a file that contains <%@ page contentType="text/html; charset=UTF-8"%> Then it doesn't work. If I include that <@ page line directly, it gets the encoding right. On Feb 28, 2014, at 04:45 , Rick Mann wrote: > I thought I had UTF-8 set throughout my app; source

[Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
I thought I had UTF-8 set throughout my app; source files are encoded in it, I set it everywhere I can think of (requests, responses, JVM, HTML and JSP tags). I we re-doing the HTML for my site, fancifying it with bootstrap and all that goodness, when I noticed that the copyright symbol I typed