pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bosco Rama <postgres@boscorama.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
To: List <pgsql-jdbc@postgresql.org>
Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Date: Mon, 10 Aug 2015 10:14:35 -0700
Message-ID: <55C8DBFB.8040607@boscorama.com> (raw)
In-Reply-To: <CAB=Je-GAqiTuwP5m_6BP=AF1Sa5NqNujSD_PxtBRES70-mMDgg@mail.gmail.com>
References: <55C4DF1F.2060808@nqadmin.com>
	<55C584A6.1040600@nqadmin.com>
	<55C64120.6020705@nqadmin.com>
	<55C667BF.8080703@boscorama.com>
	<CAB=Je-GAqiTuwP5m_6BP=AF1Sa5NqNujSD_PxtBRES70-mMDgg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

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



view thread (16+ messages)

Message-ID: <55C8DBFB.8040607@boscorama.com>
Permalink:  ../55C8DBFB.8040607@boscorama.com/
Also on:    postgresql.org/message-id/55C8DBFB.8040607@boscorama.com

 · 

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-jdbc@postgresql.org
  Cc: postgres@boscorama.com, sitnikov.vladimir@gmail.com
  Subject: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
  In-Reply-To: <55C8DBFB.8040607@boscorama.com>
  References: <55C4DF1F.2060808@nqadmin.com> <55C584A6.1040600@nqadmin.com> <55C64120.6020705@nqadmin.com> <55C667BF.8080703@boscorama.com> <CAB=Je-GAqiTuwP5m_6BP=AF1Sa5NqNujSD_PxtBRES70-mMDgg@mail.gmail.com> <55C8DBFB.8040607@boscorama.com>

* 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