Skip site navigation (1) Skip section navigation (2)

Bug or not about ASCII and Multi-Byte character set

From: "ZF" <zf(dot)tech(at)gmail(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Bug or not about ASCII and Multi-Byte character set
Date: 2005-08-14 10:12:48
Message-ID: 001001c5a0b8$c8697bf0$64f2a8c0@sun (view raw or flat)
Thread:
Lists: pgsql-odbc
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.

Responses

pgsql-odbc by date

Next:From: Peter EisentrautDate: 2005-08-14 10:44:02
Subject: Re: Updates to page on using psqlodbc with Debian
Previous:From: Bruce MomjianDate: 2005-08-12 21:45:28
Subject: Re: Libpq driver: thread problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group