X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6F03F3A476E for ; Wed, 27 Oct 2004 22:24:21 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07932-07 for ; Wed, 27 Oct 2004 21:24:09 +0000 (GMT) Received: from gcf.com.br (PJ99.rce.neoline.com.br [200.199.7.99]) by svr1.postgresql.org (Postfix) with ESMTP id 9B8293A4757 for ; Wed, 27 Oct 2004 22:24:06 +0100 (BST) Received: from gcf-lucas.gcf-sistemas ([192.168.0.201]) by gcf.com.br (8.12.5/8.12.5) with ESMTP id i9RIR9gG005797 for ; Wed, 27 Oct 2004 18:27:09 GMT Received: from 127.0.0.1 (AVG SMTP 7.0.269 [264.12.4]); Wed, 27 Oct 2004 17:27:21 -0300 Message-ID: <001e01c4bc63$5c5476c0$0101a8c0@gcfsistemas> From: "Lucas Sultanum" To: Subject: Bug Date: Wed, 27 Oct 2004 17:27:20 -0300 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=======AVGMAIL-418004A974A2=======" X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72 on gcf.com.br X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_60_70, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200410/283 X-Sequence-Number: 9746 --=======AVGMAIL-418004A974A2======= Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C4BC4A.36F69CF0" ------=_NextPart_000_001B_01C4BC4A.36F69CF0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello, =20 I am not sure if this is a bug or I am doing something wrong. When I = execute the following command (insert into a_cadclias values = ('6542','65465','amaro','=E1maro')) on pgAdmin III Query it works = pretty well, but when I try to do the same through a C# App connecting = to the database through an ODBC driver I get the following error: "ERROR: 22021: invalid byte sequence for encoding \"UNICODE\": 0xe16d61" =20 I know that it has something to do with the word =E1maro because when I = take the letter =E1 off and replace it with the letter a it works fine. =20 Bellow goes the table structure: =20 =20 CREATE TABLE a_cadclias ( dba_clias_cliente "numeric"(8) NOT NULL, dba_clias_associado "numeric"(8) NOT NULL, dba_keyclias_sq "varchar"(8) NOT NULL, teste "varchar"(10), CONSTRAINT dba_keyclias_sq PRIMARY KEY (dba_keyclias_sq) )=20 WITH OIDS; =20 =20 Att: It is valid to said that I have also tried the Npgsql dll and got = the same error. =20 Regards =20 Lucas Sultanum ------=_NextPart_000_001B_01C4BC4A.36F69CF0 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

Hello,

 

I am=20 not sure if this is a bug or I am doing something wrong. When I execute = the=20 following command (insert into = a_cadclias values ('6542','65465','amaro','=E1maro'))  on pgAdmin III Query it works = pretty=20 well, but when I try to do the same through a C# App connecting to the = database=20 through an ODBC driver I get the following=20 error:

"ERROR: 22021: invalid byte sequence for = encoding=20 \"UNICODE\": 0xe16d61"

 

I=20 know that it has something to do with the word =E1maro because when I take = the letter =E1 off and replace it with = the letter a it works=20 fine.

 

Bellow goes the table=20 structure:

 

 

CREATE TABLE=20 a_cadclias

(

  dba_clias_cliente "numeric"(8) = NOT=20 NULL,

  dba_clias_associado = "numeric"(8) NOT=20 NULL,

  dba_keyclias_sq "varchar"(8) = NOT=20 NULL,

  teste=20 "varchar"(10),

  CONSTRAINT dba_keyclias_sq = PRIMARY KEY=20 (dba_keyclias_sq)

)=20

WITH=20 OIDS;

 

 

Att:=20 It is valid to said that I have also tried the Npgsql dll and got the = same=20 error.

 

Regards

 

Lucas=20 Sultanum

------=_NextPart_000_001B_01C4BC4A.36F69CF0-- --=======AVGMAIL-418004A974A2======= Content-Type: text/plain; x-avg=cert; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Description: "AVG certification" Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.269 / Virus Database: 264.12.4 - Release Date: 27/10/2004 --=======AVGMAIL-418004A974A2=======--