We had problem sending HTTP headers containing Greek characters
(ISO-8859-7). 

After browsing the sources, I reached JkCoyoteHandler class (jk2), and
specifically appendHead(org.apache.coyote.Response res) method where it
constructs a C2BConverter object like this :


private void appendHead(org.apache.coyote.Response res) {
....
....
....
  C2BConverter c2b = (C2BConverter)res.getNote( utfC2bNote );        
  if( c2b == null ) {
    c2b = new C2BConverter(  "UTF8" );
    res.setNote( utfC2bNote, c2b );
  }
....
....
}

It allways converted the headers in UTF8 encoding which messed up my
Greek charactes (ISO-8859-7).

I changed the method to something like this :

C2BConverter c2b = new C2BConverter( res.getCharacterEncoding() );

which seems to work just fine.

Panagiotis Konstantinidis
Software Engineer
........................................
Softways Hellas Internet Development S.A
(http://www.softways.gr/)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to