Re: mod_jk codepage in header values

2010-01-29 Thread Mirko Solic
> > OK. He was my mistake i thought that mod_jk automatically takes > > environment variables and puts them in header. But, yes, as you said > > this is done by AAI. So right encoding should be done by AAI side. Thank > > you for clearing that up. > > Let us know what AAI says about this. OK.

Re: mod_jk codepage in header values

2010-01-27 Thread Mirko Solic
> > According to André Warnier: > > > >> But, because the HTTP RFC specifies that HTTP headers > >> should contain only US-ASCII character data, mod_jk would be allowed, > >> if > >> it finds non-US-ASCII data in a HTTP header, to strip this data or > >> ignore the header or something like that.

Re: mod_jk codepage in header values

2010-01-25 Thread Mirko Solic
On Thu, 2010-01-21 at 10:34 -0500, Christopher Schultz wrote: > On 1/21/2010 6:43 AM, Mirko Solic wrote: > > That what i'm afraid of. This code: new > > String(request.getHeader(headerName).getBytes("ISO-8859-1")) works for > > now but it really shouldn't

Re: mod_jk codepage in header values

2010-01-25 Thread Mirko Solic
On Thu, 2010-01-21 at 15:21 +0100, André Warnier wrote: > Mirko Solic wrote: > > On Thu, 2010-01-21 at 11:30 +0100, André Warnier wrote: > > > Mirko, > just for info : there is a related other thread taking place at the same > time, entitled "Basic Authentication F

Re: mod_jk codepage in header values

2010-01-21 Thread Mirko Solic
On Thu, 2010-01-21 at 11:30 +0100, André Warnier wrote: This was quite replay :). Thanks for you time and knowledge. > Mirko, > I am from Belgium, Europe too. I live in Spain and work mostly for > German and other international customers (among which are some from > Poland too). This to say th

Re: mod_jk codepage in header values

2010-01-21 Thread Mirko Solic
Christopher thanks for quick replay. > > for connecting tomcat with apache i'm using mod_jk connector. But i'm > > having problem with header values. On apache side headers values are in > > UTF-8 cp but on tomcat side i have to make conversion from latin-1 cp. > > Hmm. > > HTTP defines header v

mod_jk codepage in header values

2010-01-20 Thread Mirko Solic
Hello, for connecting tomcat with apache i'm using mod_jk connector. But i'm having problem with header values. On apache side headers values are in UTF-8 cp but on tomcat side i have to make conversion from latin-1 cp. I'm using this code: for(Enumeration en = request.getHeaderNames(); en.hasMor