pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: sheri.bhavani@cognizant.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14197: ERROR: character with byte sequence 0x81 in encoding "WIN1252" has no equivalent in encoding "UTF8"
Date: Fri, 17 Jun 2016 01:04:26 -0700
Message-ID: <04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.com> (raw)
In-Reply-To: <DA3E422641D9604CB635C008BBD18E4E118520AC@CTSINCHNSXMBQ.cts.com>
References: <20160616122249.5796.35005@wrigleys.postgresql.org>
	<CAKFQuwa8hqnJ0hHDmBN7io15ho3JWJ4F7_trUZ4nOcLCj_1sqg@mail.gmail.com>
	<DA3E422641D9604CB635C008BBD18E4E11852088@CTSINCHNSXMBQ.cts.com>
	<CAKFQuwbD2RQvoetv-zceDio8aPKD5dMFtKWrYmv3jy3kmks=kg@mail.gmail.com>
	<DA3E422641D9604CB635C008BBD18E4E118520AC@CTSINCHNSXMBQ.cts.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 6/16/2016 10:08 PM, sheri.bhavani@cognizant.com wrote:
> ·ERROR: character with byte sequence 0x81 in encoding "WIN1252" has no 
> equivalent in encoding "UTF8" is thrown in postgreSQL 9.5.3 .

per https://en.wikipedia.org/wiki/Windows-1252  0x81 is not a valid 
character in encoding win1252, so it can't be converted to UTF8

you need to determine what field of which row of what table has that 
value in it and change it to something valid (perhaps 0x20 ?) before you 
can load this data into a UTF8 database.



-- 
john r pierce, recycling bits in santa cruz

view thread (5+ messages)  latest in thread

Message-ID: <04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.com>
Permalink:  ../04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.com/
Also on:    postgresql.org/message-id/04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.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-bugs@postgresql.org
  Cc: pierce@hogranch.com, sheri.bhavani@cognizant.com
  Subject: Re: BUG #14197: ERROR: character with byte sequence 0x81 in encoding "WIN1252" has no equivalent in encoding "UTF8"
  In-Reply-To: <04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.com>
  References: <20160616122249.5796.35005@wrigleys.postgresql.org> <CAKFQuwa8hqnJ0hHDmBN7io15ho3JWJ4F7_trUZ4nOcLCj_1sqg@mail.gmail.com> <DA3E422641D9604CB635C008BBD18E4E11852088@CTSINCHNSXMBQ.cts.com> <CAKFQuwbD2RQvoetv-zceDio8aPKD5dMFtKWrYmv3jy3kmks=kg@mail.gmail.com> <DA3E422641D9604CB635C008BBD18E4E118520AC@CTSINCHNSXMBQ.cts.com> <04ed1adc-e84b-e048-27af-c8e84844e9b7@hogranch.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