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

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: bartek(at)mikronika(dot)com(dot)pl
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when
Date: 2006-12-13 03:29:27
Message-ID: 457F7397.8000404@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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.

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2006-12-13 03:33:35 Re: possible odbc driver bug with postgresql-7.4
Previous Message noreply 2006-12-13 02:06:05 [ psqlodbc-Bugs-1000738 ] Wrong ODBC state (42P01 or 42P07) is returned on dropping/creating table