pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mimi Siu <bbnoopys@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: Problem with Chinese characters
Date: Thu, 3 Nov 2005 02:03:06 -0800 (PST)
Message-ID: <20051103100306.88356.qmail@web30512.mail.mud.yahoo.com> (raw)

Hi:

I am using psqlodbc-08-00-0102 ODBC driver on my
Windows 2000 machine and want to insert data (with
chinese characters) to the postgresql 8.0.3 running on
RH9. 

My database is encoded as UNICODE, and my sql
statement is already converted to UTF-8 before calling
SQLExecute(). But I found that the coding of the
chinese characters is not UTF-8 in the postgresql
database. Also if I insert the record with 10 chinese
characters, the length of the field should be 10, but
now it is 30. 

It was previously work when I use the
psqlodbc-07-02-01 driver with postgresql 7.3. 

Thanks a lot!


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



view thread (8+ messages)  latest in thread

Message-ID: <20051103100306.88356.qmail@web30512.mail.mud.yahoo.com>
Permalink:  ../20051103100306.88356.qmail@web30512.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051103100306.88356.qmail@web30512.mail.mud.yahoo.com

 · 

reply

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: bbnoopys@yahoo.com
  Subject: Re: Problem with Chinese characters
  In-Reply-To: <20051103100306.88356.qmail@web30512.mail.mud.yahoo.com>
  References: <20051103100306.88356.qmail@web30512.mail.mud.yahoo.com>

* 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