Bug #442: output not exectly the given input - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #442: output not exectly the given input
Date
Msg-id 200109090657.f896v4N90546@hub.org
Whole thread Raw
List pgsql-bugs
Patrick Ho (eg_hsl@yahoo.com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
output not exectly the given input

Long Description
Platform: Chinese Windows98(front end), Red hat 7.1 Chinese Version + PostgresQL 7.02 (back end)

connection: ODBC

While inputing some Chinese charaters (but not all) into the database thu ODBC, the output becomes monster. But when I
tryto insert the query in the Postgres (instead of ODBC), the problem doesn't happen.  



Sample Code
insert into temp (name, tel) values ('¤uµ{¦¬¤J', '98785455');

the expected output is '¤uµ{¦¬¤J', '98785455' , but it becomes '¤uµ¦¬¤J','98785455'

I think it is the problem of the charater 'µ{', all the charaters after it will becomes monster.

Also, I found so many charaters that would have the above situation.
e.g. '²{','Á{','ÅK'

No file was uploaded with this report

pgsql-bugs by date:

Previous
From: tomas@fabula.de
Date:
Subject: PostgreSQL 7.1.3 vs. gcc 2.95.4 and GNU libc 2.2.4
Next
From: "Robert B. Easter"
Date:
Subject: Re: [PATCHES] JDBC patch (attempt#2) for util.Serialize and jdbc2.PreparedStatement