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

[ psqlodbc-Bugs-1000836 ] invalid byte sequence for encoding "UTF8": 0x92

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000836 ] invalid byte sequence for encoding "UTF8": 0x92
Date: 2006-12-12 15:26:43
Message-ID: 20061212152643.5C617216E56@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-odbc
Bugs item #1000836, was opened at 2006-12-12 10: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


----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000836&group_id=1000125

pgsql-odbc by date

Next:From: Tom LaneDate: 2006-12-12 17:11:11
Subject: Re: possible odbc driver bug with postgresql-7.4
Previous:From: bartekDate: 2006-12-12 15:23:57
Subject: Invalid byte sequence for encoding "UTF8": 0xa1 - when insert data into bytea.

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