From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Sofer, Yuval <Yuval_Sofer@bmc.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: odbc problem on Japanese windows machine
Date: Fri, 14 Dec 2007 17:14:42 +0900
Message-ID: <47623B72.3030805@tpf.co.jp> (raw)
In-Reply-To: <E9DE7963E5EA6546B42A979EC28B4D0136B5ADEE@hou-ex-02.adprod.bmc.com>
References: <E9DE7963E5EA6546B42A979EC28B4D0136B5ADEE@hou-ex-02.adprod.bmc.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, Yuval_Sofer@bmc.com
Subject: Re: odbc problem on Japanese windows machine
In-Reply-To: <47623B72.3030805@tpf.co.jp>
References: <E9DE7963E5EA6546B42A979EC28B4D0136B5ADEE@hou-ex-02.adprod.bmc.com> <47623B72.3030805@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox