Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOBaz-0007R5-6R for pgsql-jdbc@arkaria.postgresql.org; Sat, 08 Aug 2015 21:24:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZOBay-000186-Hv for pgsql-jdbc@arkaria.postgresql.org; Sat, 08 Aug 2015 21:24: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 1ZOBaU-0000U1-H5 for pgsql-jdbc@postgresql.org; Sat, 08 Aug 2015 21:23:30 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZOBaS-00046I-41 for pgsql-jdbc@postgresql.org; Sat, 08 Aug 2015 21:23:29 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id t78LNMH16306 for ; Sat, 8 Aug 2015 14:23:22 -0700 Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92 To: pgsql-jdbc@postgresql.org References: <55C4DF1F.2060808@nqadmin.com> <55C584A6.1040600@nqadmin.com> <55C64120.6020705@nqadmin.com> <55C667BF.8080703@boscorama.com> From: John R Pierce Message-ID: <55C67345.7050107@hogranch.com> Date: Sat, 8 Aug 2015 14:23:17 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.3 (--) 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 8/8/2015 2:04 PM, 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? > Vladimir SQL_ASCII means unknown encoding, bytes in, bytes out. you can't convert that to anything else as the system doesn't know what it is. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc