Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 85167 invoked from network); 7 Dec 2004 03:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 03:24:01 -0000 Received: (qmail 3256 invoked by uid 500); 7 Dec 2004 03:23:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 3236 invoked by uid 500); 7 Dec 2004 03:23:38 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 3221 invoked by uid 99); 7 Dec 2004 03:23:37 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web50408.mail.yahoo.com (HELO web50408.mail.yahoo.com) (206.190.38.73) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Dec 2004 19:23:36 -0800 Received: (qmail 36899 invoked by uid 60001); 7 Dec 2004 03:23:34 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=RNvF3/4yoTS0Y8cXSyT+QXKPgvFrhl5UQL+mwPU3H+KyIpidTp5yny1dPd+PYpJSfrPI2J3R9m9CPJ/z3V4L9zgAy7VsDxeCxoO/4Aht1lf7ltsAKaWg2pqgESTYLg3cgxzu7cqH53D7QYMhE7lqhzQCjzuCt21B/S2xyKyzAYA= ; Message-ID: <20041207032334.36897.qmail@web50408.mail.yahoo.com> Received: from [63.100.100.5] by web50408.mail.yahoo.com via HTTP; Mon, 06 Dec 2004 19:23:34 PST Date: Mon, 6 Dec 2004 19:23:34 -0800 (PST) From: Sarah Subject: tomcat 5 and UTF-8 encoding To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1831664599-1102389814=:36382" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-1831664599-1102389814=:36382 Content-Type: text/plain; charset=us-ascii Hi, I need to use jsp to display some data in Japanese character from MS SQL server database. I have already set the encoding in jsp to be: <%@ page language="java" contentType="text/html; charset=UTF-8" %> If I use tomcat version 5.0.18, then the japanese character is displayed correctly. However, if I use 5.0.28 or 5.5.4, the characters are something like "???". If I right click the html page generated from jsp on the above versions, I can see the encoding to be Western instead of "UTF-8" like what happened with 5.0.18. Does anyone know what cause this problem and if any configuration of Tomcat needs to be made. Thank you very much for your help. Sarah --------------------------------- Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. --0-1831664599-1102389814=:36382--