Re: JDBC COPY error encoding - Mailing list pgsql-jdbc

From ttvvaa
Subject Re: JDBC COPY error encoding
Date
Msg-id 12261732.post@talk.nabble.com
Whole thread Raw
In response to Re: JDBC COPY error encoding  ("Kalle Hallivuori" <kato@iki.fi>)
List pgsql-jdbc
Thanks for answer!
I convert text-file to UTF-8 and successed copy.


Kalle Hallivuori wrote:
>
> Hi!
> JDBC copy does not know the encoding in the provided bytestream. Thus
> you have to convert the data to encoding used by server by yourself,
> before feeding it to copy.
>
> --
> Kalle Hallivuori +358-41-5053073 http://korpiq.iki.fi/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                 http://www.postgresql.org/about/donate
>
>

--
View this message in context: http://www.nabble.com/JDBC-COPY-error-encoding-tf4299167.html#a12261732
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


pgsql-jdbc by date:

Previous
From: "Kalle Hallivuori"
Date:
Subject: Re: JDBC COPY error encoding
Next
From: Paweł Cesar Sanjuan Szklarz
Date:
Subject: jdbc problem