Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Delivered-To: moderator for tomcat-dev@jakarta.apache.org Received: (qmail 13646 invoked from network); 24 Dec 1999 08:53:57 -0000 Received: from base.f-ree.com (210.226.168.210) by 63.211.145.10 with SMTP; 24 Dec 1999 08:53:57 -0000 Received: from rucifer (rucifer [210.226.168.211]) by base.f-ree.com (8.9.2/3.7W) with SMTP id IAA78142 for ; Fri, 24 Dec 1999 08:53:51 GMT Received: by rucifer with Microsoft Mail id <01BF4E37.B3C2F750@rucifer>; Fri, 24 Dec 1999 17:52:53 +0900 Message-ID: <01BF4E37.B3C2F750@rucifer> From: =?ISO-2022-JP?B?GyRCPi5BUhsoSg==?= To: "'tomcat-dev@jakarta.apache.org.'" Subject: tomcat support 2bytes(Japanese) code? Date: Fri, 24 Dec 1999 17:52:52 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit 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) org/apache/jasper/compiler/EscapeUnicodeWriter.java function: 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: ogura@eadviser.net