Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 51326 invoked from network); 20 Sep 2003 16:50:08 -0000 Received: from unknown (HELO post.cnt.ru) (212.15.122.243) by daedalus.apache.org with SMTP; 20 Sep 2003 16:50:08 -0000 Received: from ppp3-80.dial-up.cnt.ru (ppp3-80.dial-up.cnt.ru [212.15.120.80]) by post.cnt.ru (8.11.7/8.11.1) with ESMTP id h8KGo8525005; Sat, 20 Sep 2003 20:50:09 +0400 Date: Sat, 20 Sep 2003 20:50:30 +0400 From: Anton Tagunov X-Mailer: The Bat! (v1.60h) X-Priority: 3 (Normal) Message-ID: <674348112.20030920205030@mail.cnt.ru> To: "Tomcat Users List" , hans@cambrient.com Subject: Re[2]: Character Set Issues (windows vs. Unix) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Hans! Sorry about responding with significat delays, I'm reading the list only periodically, in gulps AT> String s = rs.getString(x); AT> char c = s.charAt(y); AT> out.print((int)c); HL> Thats exactly what I am doing. HL> .... same result What result? What codes do you get for non-ascii characters on Unix and on Windos boxes from this test? HL> I have even tried HL> Reader reader = r.getCharacterStream("field_name"); HL> and then printing out the the char values of the stream I guess r is of the type ResultSet (sorry, Chris Rolfe, you seem to have misunderstood somthing). Okay, I beleive there is not any difference between ResultSet.getString() and ResultSet.getCharacterStream(), it will be enough to test either of them HL> Its the most bizarre thing i have seen. HL> ...and driving me insane! :( I like to invetigate these matters :-) So, waiting for more info from you! Anton