Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3BF462E30D8 for ; Fri, 14 Dec 2007 04:14:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45678-08 for ; Fri, 14 Dec 2007 04:14:53 -0400 (AST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id B9A4B2E00F0 for ; Fri, 14 Dec 2007 04:14:52 -0400 (AST) Received: (qmail 14795 invoked from network); 14 Dec 2007 17:14:48 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.117) by sd2.tpf-fw-c.co.jp with SMTP; 14 Dec 2007 17:14:48 +0900 Message-ID: <47623B72.3030805@tpf.co.jp> Date: Fri, 14 Dec 2007 17:14:42 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: "Sofer, Yuval" CC: pgsql-odbc@postgresql.org Subject: Re: odbc problem on Japanese windows machine References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/21 X-Sequence-Number: 9299 Sofer, Yuval wrote: > Hi, > > I am trying to use postgres odbc driver on windows Japanese machine, to > test connection to a remote postgres database. The database has latin1 > encoding. > > Connection tests to databases with latin1 encoding fail with this error > message: > > fatal: conversion between SJIS and LATIN1 is not supported Are you testing the ANSI version driver ? If so, please set the *Connect Settings* option like set client_encoding to 'XXXX' (XXXX e.g. SQL_ASCII, LATIN1 etc). You can see the example (SJIS case) at http://www.geocities.jp/inocchichichi/psqlodbc/encoding.jpg . However I'm not sure if you can see LATIN1 specific characters using Japanese machine. regards, Hiroshi Inoue