Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 8545 invoked from network); 31 Mar 2004 14:23:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Mar 2004 14:23:42 -0000 Received: (qmail 45538 invoked by uid 500); 31 Mar 2004 14:23:27 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 45528 invoked by uid 500); 31 Mar 2004 14:23:27 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 45508 invoked from network); 31 Mar 2004 14:23:26 -0000 Received: from unknown (HELO netra1.schlaepfer.com) (213.200.226.160) by daedalus.apache.org with SMTP; 31 Mar 2004 14:23:26 -0000 Received: from schlaepfer.com (netra1.schlaepfer.com [192.168.123.1]) by netra1.schlaepfer.com (Postfix) with SMTP id ED3C33D762 for ; Wed, 31 Mar 2004 16:23:44 +0200 (MEST) Received: from 141.249.133.6 (proxying for 141.249.4.30) (SquirrelMail authenticated user patrick) by www.schlaepfer.com with HTTP; Wed, 31 Mar 2004 16:23:44 +0200 (MEST) Message-ID: <58654.141.249.133.6.1080743025.squirrel@www.schlaepfer.com> Date: Wed, 31 Mar 2004 16:23:44 +0200 (MEST) Subject: Unicode Umlauts/SQLTransformer From: "Patrick Schlaepfer" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.10) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Made the observation that SQLTransformer, doesn't care that much about character Encoding: String retval = SQLTransformger.getStringValue(rs.getObject(i)); and then returns a new String((byte[]) object) Would it make any sence to introduce there a new String((byte[]) object, "CHARACTER_SET") which could be UTF8. Just a suggestion, as I wrote a simple class testing the connection to a MySQL 4.1.1 DB with UTF8 setting. And there I used byte[] col_1_b = rs.getBytes(1); new String(col_1_b, "UTF8"); Any comments? Thanks Patrick --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org