pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JasmineLiu <liuyuanyuangogo@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
Date: Wed, 27 Aug 2014 00:43:18 -0700 (PDT)
Message-ID: <1409125398008-5816498.post@n5.nabble.com> (raw)
In-Reply-To: <E5CB7F50-AA37-4986-A2F7-E74F255BF4B6@pvv.ntnu.no>
References: <BAY7-F17FFE0E324AB3B642C547E96890@phx.gbl>
	<45DAE076.1060407@opencloud.com>
	<45DD3A3F.5050609@kensystem.com>
	<E5CB7F50-AA37-4986-A2F7-E74F255BF4B6@pvv.ntnu.no>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

the context is:
http://postgresql.1045698.n5.nabble.com/invalid-byte-sequence-for-encoding-quot-UTF8-quot-0x00-td217...

I've also got this problem while copy or insert data from MS SQL Server to 
PostgreSQL.
SQLServer 2008 R2, encoding :GBK
PostgreSQL 9.3.4, encoding:UTF8

Rather than modify the column value in sql server, 
are  there any other ways to solve this problem?
Better to give me an  examples.
Thanks!

Yours,
Jasmine



--
View this message in context: http://postgresql.1045698.n5.nabble.com/invalid-byte-sequence-for-encoding-UTF8-0x00-tp2172080p58164...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


-- 
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 (29+ messages)  latest in thread

Message-ID: <1409125398008-5816498.post@n5.nabble.com>
Permalink:  ../1409125398008-5816498.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1409125398008-5816498.post@n5.nabble.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: liuyuanyuangogo@gmail.com, pgsql-jdbc@postgresql.org
  Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
  In-Reply-To: <1409125398008-5816498.post@n5.nabble.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