Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZONEv-0004K5-EG for pgsql-jdbc@arkaria.postgresql.org; Sun, 09 Aug 2015 09:50:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZONEu-0000fa-5C for pgsql-jdbc@arkaria.postgresql.org; Sun, 09 Aug 2015 09:50:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZONEs-0000fR-KP for pgsql-jdbc@postgresql.org; Sun, 09 Aug 2015 09:49:58 +0000 Received: from smtp.procolix.com ([95.215.185.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZONEk-0001Ay-Mq for pgsql-jdbc@postgresql.org; Sun, 09 Aug 2015 09:49:56 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.procolix.com (Postfix) with ESMTP id 13C7943E83; Sun, 9 Aug 2015 11:49:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at smtp.procolix.com Received: from smtp.procolix.com ([127.0.0.1]) by localhost (host436.procolix.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k8CtYrw8ttUQ; Sun, 9 Aug 2015 11:49:46 +0200 (CEST) Received: from webmail.procolix.com (webmail.procolix.com [95.215.185.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mark@lawinegevaar.nl) by smtp.procolix.com (Postfix) with ESMTPSA id 086B943CF8; Sun, 9 Aug 2015 11:49:46 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Sun, 09 Aug 2015 11:49:45 +0200 From: Mark Rotteveel To: Cc: , John R Pierce Subject: Re: Re: Fwd: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92 In-Reply-To: <55C683E7.2090001@nqadmin.com> References: <55C67705.209@nqadmin.com> <55C67764.1010601@nqadmin.com> <55C683E7.2090001@nqadmin.com> Message-ID: <9e1a529b606da0d25b20e3031ad661f0@imap.procolix.com> X-Sender: mark@lawinegevaar.nl User-Agent: RoundCube Webmail/0.2 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Sat, 08 Aug 2015 17:34:15 -0500, Prasanth Reddy wrote: > 2. I am able to view the content in pgadmin, why would the server not > complain when viewing from pgadmin. Not sure what the client encoding would > be when using pgadmin. pgadmin probably doesn't apply any encoding, but uses the bytes as is. > 3. Thought SQL_ASCII means the text is stored as ASCII format, may be I am > way off base on this. Is there a way to check the notes column for invalid > UTF8 characters and remove them? 0x92 is not a valid ASCII character, ASCII characters are in the range 0x00-0x7F. 0x92 is in the 'extended ascii range', but that is not really defined, andvdepends on the actual encoding (the real character set), that is why the conversion fails. Mark -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc