Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1DE8B63224D for ; Thu, 14 Jan 2010 04:38:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60813-04 for ; Thu, 14 Jan 2010 08:38:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mail.postgresql.org (Postfix) with ESMTP id 724B0641A84 for ; Thu, 14 Jan 2010 04:38:32 -0400 (AST) Received: by pwi15 with SMTP id 15so3835809pwi.3 for ; Thu, 14 Jan 2010 00:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=DR55SfILT5SAHrHkI5N+jzO9133/u7RU3gxXY+idOH8=; b=f064jZdsakgi1uCVDuPutH65fayyQ97yYFzKtNbZoJFW2JtSrgY/7IS4doLp572FG0 IPMax+D/uLatSFZVpGiv2EyqA9Xv0uXLGR7Doo88pIfvnRJKGy8/yaiNj8JB/TJIFEIx 8tzUMcyynhYW5R2o3mEdH8GEFksH51is/TFzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=a82NoKvYrN6snJsHVGbN3f0Y84F49dy2ELhDLeJOGt49HCvCGc6cFcSJtga+MPqr6j eGBCK+I+HGeF+P63zrxV+tl1497GKY1ojmUWBa+OACXRt7tiki/W5RmbfhQjYopMx1Do gMaIYAsvcjieUkUD8P9gFiA0FKo/WaQcFAJrI= MIME-Version: 1.0 Received: by 10.141.107.16 with SMTP id j16mr355065rvm.282.1263458310798; Thu, 14 Jan 2010 00:38:30 -0800 (PST) Date: Thu, 14 Jan 2010 09:38:30 +0100 Message-ID: Subject: JDBC CharSet with SQL_ASCII From: Mirco Attocchi To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.589 tagged_above=-10 required=5 tests=BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188 X-Spam-Level: X-Archive-Number: 201001/14 X-Sequence-Number: 20210 Hi All, I'm newest to this list (sorry for my bad english). I've a question about charset with jdbc. I've verified that my customer postgresql database is configured in SQL_ASCII but when I read data I receive strange chars in some fields. Do you know how I can determinate the right character set? PostgreSQL version: 8.3.7 JDBC driver version: 8.4-701.jdbc4 Thank you all -- Mirco Attocchi