Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 97D469FA304 for ; Mon, 18 Dec 2006 02:43:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 66362-06 for ; Mon, 18 Dec 2006 02:42:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id A29CC9F931E for ; Mon, 18 Dec 2006 02:42:53 -0400 (AST) Received: (qmail 10834 invoked from network); 18 Dec 2006 15:42:50 +0900 Received: from unknown (HELO ?100.0.32.170?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 18 Dec 2006 15:42:50 +0900 Message-ID: <45863865.80400@tpf.co.jp> Date: Mon, 18 Dec 2006 15:42:45 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Hiroshi Inoue CC: bartek@mikronika.com.pl, pgsql-odbc@postgresql.org Subject: Re: Invalid byte sequence for encoding "UTF8": 0xa1 - when References: <16562.192.168.3.191.1165937037.squirrel@www2> <457F7397.8000404@tpf.co.jp> In-Reply-To: <457F7397.8000404@tpf.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/74 X-Sequence-Number: 8521 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