Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOqen-0005a5-0u for pgsql-jdbc@arkaria.postgresql.org; Mon, 10 Aug 2015 17:14:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZOqem-0008BT-IM for pgsql-jdbc@arkaria.postgresql.org; Mon, 10 Aug 2015 17:14:40 +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 1ZOqem-0008BM-1w for pgsql-jdbc@postgresql.org; Mon, 10 Aug 2015 17:14:40 +0000 Received: from tempest.mainecoon.com ([69.12.217.123]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZOqej-0003Hp-KQ for pgsql-jdbc@postgresql.org; Mon, 10 Aug 2015 17:14:38 +0000 Received: from [10.1.1.2] (fw.boscorama.com [208.106.105.40]) by tempest.mainecoon.com (Postfix) with ESMTPSA id F25441D816DE; Mon, 10 Aug 2015 10:14:35 -0700 (PDT) Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92 To: Vladimir Sitnikov , List References: <55C4DF1F.2060808@nqadmin.com> <55C584A6.1040600@nqadmin.com> <55C64120.6020705@nqadmin.com> <55C667BF.8080703@boscorama.com> From: Bosco Rama Message-ID: <55C8DBFB.8040607@boscorama.com> Date: Mon, 10 Aug 2015 10:14:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 08/08/15 14:04, Vladimir Sitnikov wrote: >> The client is expecting UTF8 while the server is storing un-vetted SQL_ASCII. > > I thought server would reconvert it to client_encoding. > Shouldn't it use client_encoding when sending data to the client? Yep. And it looks like something not UTF8 got put into that data item. Either from a restore, a server function or another client that was not using UTF8 as its encoding. HTH, Bosco. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc