Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when
Date
Msg-id 45863865.80400@tpf.co.jp
Whole thread Raw
In response to Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
Hiroshi Inoue wrote:
> bartek@mikronika.com.pl wrote:
>> Invalid byte sequence for encoding "UTF8": 0xa1 - when insert data into
>> bytea.
>>
>> PostgreSQL: 8.1.5
>> Driver: psqlodbc-08.01.0200
>> Database in UTF-8.
>> Local encoding: LC_ALL=pl_PL.ISO-8859-2
>>
>> In " convert_to_pgbinary" :
>> isalnum(0xa1) return true for pl_PL.ISO-8859-2 but it isn't ascii
>> character
>
> Looking at the manual page I found it can be true.
>
>  > and should be convert to octal.
>
> I would take care of it.
> Thanks.

Please try the snapshot dll at
   http://www.geocities.jp/inocchichichi/psqlodbc/index.html
.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: "lothar.behrens@lollisoft.de"
Date:
Subject: Re: SQLSetPos problem ?
Next
From: "Michael Kochetkov"
Date:
Subject: Query batches and SQLMoreResults