pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Pflug <pgadmin@pse-consulting.de>
To: ZF <zf.tech@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Bug or not about ASCII and Multi-Byte character set
Date: Sun, 14 Aug 2005 14:11:30 +0200
Message-ID: <42FF34F2.9010008@pse-consulting.de> (raw)
In-Reply-To: <001001c5a0b8$c8697bf0$64f2a8c0@sun>
References: <001001c5a0b8$c8697bf0$64f2a8c0@sun>

ZF wrote:
> version: psqlodbc 08.00.0101 and 08.00.0102
> 
> The server database encoding is ASCII in win2000. After inserting
> several multi-byte characters with pgAdmin3(version: 1.2.1), 

Since SQL_ASCII is *not* multi-byte, pgAdmin will insert single byte 
characters which are non-ASCII compliant. You can't read such data with 
unicode. Simple advice: don't use SQL_ASCII for storing non-ASCII data. 
Use a specific encoding or Unicode.

Regards,
Andreas



view thread (14+ messages)  latest in thread

Message-ID: <42FF34F2.9010008@pse-consulting.de>
Permalink:  ../42FF34F2.9010008@pse-consulting.de/
Also on:    postgresql.org/message-id/42FF34F2.9010008@pse-consulting.de

 · 

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: pgadmin@pse-consulting.de, zf.tech@gmail.com
  Subject: Re: Bug or not about ASCII and Multi-Byte character set
  In-Reply-To: <42FF34F2.9010008@pse-consulting.de>
  References: <001001c5a0b8$c8697bf0$64f2a8c0@sun> <42FF34F2.9010008@pse-consulting.de>

* 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