tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 小倉 <>
Subject tomcat support 2bytes(Japanese) code?
Date Fri, 24 Dec 1999 08:52:52 GMT

 Hello. I'm Atsushi Ogura.
I use Apache & tomcat in Japan.
I have one trouble.It's about 2bytes code.
Tomcat display error, include 2byte code JSP file.

Error's cause in source file (at Release Ver3.0 code)

public void write(char buf[], int off, int len)
line: 91
int ch = buf[off++] & 0xff;
This code translate 2byte code -> 1byte code and Japanese code broken.
I try this  code and so good result.
int ch = buf[off++];

If you correct this code.and I'm happy.

Good bye.

Atushi Ogura       e-mail:

View raw message