Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Date: 2015-08-08 21:23:17
Message-ID: 55C67345.7050107@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2015-08-08 21:27:22 Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Previous Message Vladimir Sitnikov 2015-08-08 21:04:58 Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92