Re: invalid byte sequence for encoding "UTF8": 0x00 - Mailing list pgsql-jdbc

From JasmineLiu
Subject Re: invalid byte sequence for encoding "UTF8": 0x00
Date
Msg-id 1409125398008-5816498.post@n5.nabble.com
Whole thread Raw
In response to Re: invalid byte sequence for encoding "UTF8": 0x00  (Tore Halset <halset@pvv.ntnu.no>)
Responses Re: invalid byte sequence for encoding "UTF8": 0x00  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-jdbc
the context is:
http://postgresql.1045698.n5.nabble.com/invalid-byte-sequence-for-encoding-quot-UTF8-quot-0x00-td2172080.html

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-tp2172080p5816498.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


pgsql-jdbc by date:

Previous
From: David G Johnston
Date:
Subject: Re: How to implement a dynamic string into a sql statement?
Next
From: Albe Laurenz
Date:
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00