X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5FAEC32A075 for ; Tue, 5 Oct 2004 00:54:40 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05261-01 for ; Mon, 4 Oct 2004 23:54:32 +0000 (GMT) Received: from web52303.mail.yahoo.com (web52303.mail.yahoo.com [206.190.39.98]) by svr1.postgresql.org (Postfix) with SMTP id A767432A057 for ; Tue, 5 Oct 2004 00:54:33 +0100 (BST) Message-ID: <20041004235433.86666.qmail@web52303.mail.yahoo.com> Received: from [65.23.211.158] by web52303.mail.yahoo.com via HTTP; Mon, 04 Oct 2004 16:54:33 PDT Date: Mon, 4 Oct 2004 16:54:33 -0700 (PDT) From: Yamir Encarnacion Subject: Mangled accented characters To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=HTML_60_70, RCVD_IN_RFCI X-Spam-Level: X-Archive-Number: 200410/7 X-Sequence-Number: 11112 I am having a problem with my accented characters getting mangled. Here is a snippet of the code I ran to reproduce the problem >>>Code starts Connection con = DriverManager.getConnection(url, user, pwd); query = "INSERT INTO container (catparent, catid, position, catname, cattype) values (2, 1, 1, 'Educación', 0)"; stmt = con.createStatement(); stmt.execute(query); con.close(); <<