Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92 - Mailing list pgsql-jdbc

From John R Pierce
Subject Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Date
Msg-id 55C67345.7050107@hogranch.com
Whole thread Raw
In response to Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc
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



pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92