pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Rotteveel <mark@lawinegevaar.nl>
To: dbadmin@nqadmin.com
Cc: pgsql-jdbc@postgresql.org
Cc: John R Pierce <pierce@hogranch.com>
Subject: Re: Re: Fwd: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
Date: Sun, 09 Aug 2015 11:49:45 +0200
Message-ID: <9e1a529b606da0d25b20e3031ad661f0@imap.procolix.com> (raw)
In-Reply-To: <55C683E7.2090001@nqadmin.com>
References: <55C67705.209@nqadmin.com>
	<55C67764.1010601@nqadmin.com>
	<55C683E7.2090001@nqadmin.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On Sat, 08 Aug 2015 17:34:15 -0500, Prasanth Reddy <dbadmin@nqadmin.com>
wrote:
> 2. I am able to view the content in pgadmin, why would the server not
> complain when viewing from pgadmin. Not sure what the client encoding
would
> be when using pgadmin.

pgadmin probably doesn't apply any encoding, but uses the bytes as is.

> 3. Thought SQL_ASCII means the text is stored as ASCII format, may be I
am
> way off base on this. Is there a way to check the notes column for
invalid
> UTF8 characters and remove them?

0x92 is not a valid ASCII character, ASCII characters are in the range
0x00-0x7F. 0x92 is in the 'extended ascii range', but that is not really
defined, andvdepends on the actual encoding (the real character set), that
is why the conversion fails.

Mark


-- 
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)  latest in thread

Message-ID: <9e1a529b606da0d25b20e3031ad661f0@imap.procolix.com>
Permalink:  ../9e1a529b606da0d25b20e3031ad661f0@imap.procolix.com/
Also on:    postgresql.org/message-id/9e1a529b606da0d25b20e3031ad661f0@imap.procolix.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: mark@lawinegevaar.nl, dbadmin@nqadmin.com, pierce@hogranch.com
  Subject: Re: Fwd: Re: Re: Postgresql 9.4.4 - ERROR: invalid byte sequence for encoding "UTF8": 0x92
  In-Reply-To: <9e1a529b606da0d25b20e3031ad661f0@imap.procolix.com>
  References: <55C67705.209@nqadmin.com> <55C67764.1010601@nqadmin.com> <55C683E7.2090001@nqadmin.com> <9e1a529b606da0d25b20e3031ad661f0@imap.procolix.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