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

Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: bartek(at)mikronika(dot)com(dot)pl, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when
Date: 2006-12-18 06:42:45
Message-ID: 45863865.80400@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
Hiroshi Inoue wrote:
> bartek(at)mikronika(dot)com(dot)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

In response to

pgsql-odbc by date

Next:From: Michael KochetkovDate: 2006-12-18 19:00:38
Subject: Query batches and SQLMoreResults
Previous:From: lothar.behrens@lollisoft.deDate: 2006-12-16 23:23:40
Subject: Re: SQLSetPos problem ?

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