pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josef Springer <Josef.Springer@JOOPS.COM>
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 19:45:34 +0200
Message-ID: <42FF833E.5040601@joops.com> (raw)
References: <001001c5a0b8$c8697bf0$64f2a8c0@sun>

Multibyte characters are written correctly but readed wrong by the ODBC
driver. Seems to work on WinXP clients right. Only Win2k clients may
have this problem. This bug may be corrected in PostgreSQL 8.1.

Josef Springer

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), i found the odbc driver can't provide the right data (application is written in visual c++ and call ODBC API to access db server). All displayed multi-byte char set data were not correct but the ASCII data was right. However, pgAdmin3 can correctly insert and select all data . 
>
>Then i read the "mylog" file and found the multi-byte data have been got correctly from server. 
>Is it possible that some function (maybe the converting function) have a little bug?
>
>
>P.S.
>if the server db encoding is UNICODE and producing a new psqlodbc.dll through  deleting all SQL*W function in 'psqlodbc_win32.def' file, i got Delphi applications using odbc driver can show all right data.
>---------------------------(end of broadcast)---------------------------
>TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>

-- 

mit freundlichen GrĂ¼ssen,
Josef Springer
(Gescha"ftsleitung)

<cid:part1.05000701.06060503@netscape.com> -- the software company --

Orlando-di-Lasso Str. 2
D-85640 Putzbrunn

Tel. ++49(0)89 600 6920
Fax ++49(0)89 600 69220
mailto Josef.Springer@joops.com <mailto:Josef.Springer@joops.com>
Website http://www.joops.com

Attachments:

image120.jpg (image/jpeg, 7.6K) download view image

view thread (14+ messages)  latest in thread

Message-ID: <42FF833E.5040601@joops.com>
Permalink:  ../42FF833E.5040601@joops.com/
Also on:    postgresql.org/message-id/42FF833E.5040601@joops.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: Josef.Springer@JOOPS.COM, zf.tech@gmail.com
  Subject: Re: Bug or not about ASCII and Multi-Byte character set
  In-Reply-To: <42FF833E.5040601@joops.com>
  References: <001001c5a0b8$c8697bf0$64f2a8c0@sun> <42FF833E.5040601@joops.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