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 rm...@latencyzero.com wrote: I thought I had UTF-8 set throughout

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 responsible

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 f...@caucho.com 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 encoding

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:

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 knut-cau...@forkalsrud.org wrote: Traditionally the JSP spec has mandated ISO-8859-1 if

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

2014-02-28 Thread Rick Mann
Thank you. Adding this: jsp-config jsp-property-group url-pattern*.jsp/url-pattern page-encodingUTF-8/page-encoding /jsp-property-group /jsp-config To the bottom of my web.xml seems to have

Re: [Resin-interest] character encoding

2009-09-25 Thread Michael Ludwig
Jeff Schnitzer schrieb: I wrote up a quick blurb on the issues surrounding character encoding on the Resteasy list recently: http://sourceforge.net/mailarchive/message.php?msg_name=540eb7210908281001r6aafaa55u78615debb704e4c1%40mail.gmail.com Good blurb! The main problem is that POSTed form

Re: [Resin-interest] character encoding

2009-09-24 Thread Rom Sok
No, I mean in the request... on the java side. On Wed, Sep 23, 2009 at 6:07 PM, Rick Mann rm...@latencyzero.com wrote: In a JSP? %@ page pageEncoding=UTF-8 % On Sep 23, 2009, at 12:14:35, Rom Sok wrote: Hi, Is there a way to force URI CHARACTER encoding to UTF-8? Thanks

Re: [Resin-interest] character encoding

2009-09-24 Thread Michael Ludwig
Rom Sok schrieb: Is there a way to force URI CHARACTER encoding to UTF-8? No, I mean in the request... on the java side. That's poor and inefficient communication. Consider giving a complete description of what you want to achieve and how it relates to Resin. Reading this might help you in

Re: [Resin-interest] character encoding

2009-09-24 Thread Rom Sok
Sorry, let's try this again: I am running into a problem where certain UTF-8 characters go into the application and come out as nonsense. The JSP's are using UTF-8 encoding, and so does the database. Accoridng to my research one of the things I have to do on the application side to make sure

Re: [Resin-interest] character encoding

2009-09-24 Thread Michael Ludwig
Rom Sok schrieb: I am running into a problem where certain UTF-8 characters go into the application and come out as nonsense. Do you know the source of these characters, or maybe bytes? Application source code? Incoming HTTP request? Might you be relying on the platform's default charset

Re: [Resin-interest] character encoding

2009-09-24 Thread Scott Ferguson
On Sep 24, 2009, at 7:59 AM, Rom Sok wrote: Sorry, let's try this again: I am running into a problem where certain UTF-8 characters go into the application and come out as nonsense. The JSP's are using UTF-8 encoding, and so does the database. Accoridng to my research one of the things I

Re: [Resin-interest] character encoding

2009-09-24 Thread Scott Ferguson
On Sep 24, 2009, at 9:13 AM, Rom Sok wrote: Thanks, Where does character-encodingutf-8/character-encoding go? In resin.conf? If so, what's the nesting? I.e. inside what tags is it nested. It's actually contextual, though the cluster is the best place for it, because URL parsing

Re: [Resin-interest] character encoding

2009-09-24 Thread Jeff Schnitzer
I wrote up a quick blurb on the issues surrounding character encoding on the Resteasy list recently: http://sourceforge.net/mailarchive/message.php?msg_name=540eb7210908281001r6aafaa55u78615debb704e4c1%40mail.gmail.com The short of it is that, if you can get away with it, you should set UTF-8

Re: [Resin-interest] character encoding

2009-09-23 Thread Rick Mann
In a JSP? %@ page pageEncoding=UTF-8 % On Sep 23, 2009, at 12:14:35, Rom Sok wrote: Hi, Is there a way to force URI CHARACTER encoding to UTF-8? Thanks ___ resin-interest mailing list resin-interest@caucho.com