pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: bartek@mikronika.com.pl
Cc: pgsql-odbc@postgresql.org
Subject: Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when
Date: Wed, 13 Dec 2006 12:29:27 +0900
Message-ID: <457F7397.8000404@tpf.co.jp> (raw)
In-Reply-To: <16562.192.168.3.191.1165937037.squirrel@www2>
References: <16562.192.168.3.191.1165937037.squirrel@www2>

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.

regards,
Hiroshi Inoue



view thread (5+ messages)  latest in thread

Message-ID: <457F7397.8000404@tpf.co.jp>
Permalink:  ../457F7397.8000404@tpf.co.jp/
Also on:    postgresql.org/message-id/457F7397.8000404@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, bartek@mikronika.com.pl
  Subject: Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when
  In-Reply-To: <457F7397.8000404@tpf.co.jp>
  References: <16562.192.168.3.191.1165937037.squirrel@www2> <457F7397.8000404@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox