Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 92B509FA492 for ; Tue, 12 Dec 2006 19:50:36 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 45987-01 for ; Tue, 12 Dec 2006 19:50:31 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 305F99FA380 for ; Tue, 12 Dec 2006 19:50:36 -0400 (AST) Received: from localhost (unknown [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 9A63D216E72; Tue, 12 Dec 2006 23:50:28 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 07477-03; Tue, 12 Dec 2006 19:50:31 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 04349216E64; Tue, 12 Dec 2006 23:50:23 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000836 ] invalid byte sequence for encoding "UTF8": 0x92 Content-type: text/plain; charset=UTF-8 Message-Id: <20061212235024.04349216E64@pgfoundry.org> Date: Tue, 12 Dec 2006 23:50:23 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/50 X-Sequence-Number: 8497 Bugs item #1000836, was opened at 2006-12-12 15:26 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000836&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) Assigned to: Nobody (None) >Summary: invalid byte sequence for encoding "UTF8": 0x92 Initial Comment: Example, create table test_char ( code CHAR(5) not null, description VARCHAR(50) not null constraint pk_test_char primary key (code) ); insert into test_char values ('TEST','description'); update test_char set description = "Destruction of add’l lesions -del 1998" where code = 'TEST' Gets this error message: Error: ERROR: invalid byte sequence for encoding "UTF8": 0x92; Error while executing the query (State:22021, Native Code: 7) This also happens if you try to execute the update using SQLExecDirect api call. Database encoding is UTF8. Driver PostgreSQL ANSI 8.02.02.03 ---------------------------------------------------------------------- >Comment By: Hiroshi Inoue (hinoue) Date: 2006-12-12 23:50 Message: Could you show me the Mylog output ? BTW I can't see the character between 'Destruction of add l' and 'lesions -del 1998' here. Is it the character corrsponding to 0x92 ? regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000836&group_id=1000125