Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 64B1E9F9F4A for ; Tue, 21 Aug 2007 16:38:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88270-01-8 for ; Tue, 21 Aug 2007 16:38:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by postgresql.org (Postfix) with ESMTP id 1A0939F9F38 for ; Tue, 21 Aug 2007 16:38:50 -0300 (ADT) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1INZYu-0003Hx-PO for pgsql-jdbc@postgresql.org; Tue, 21 Aug 2007 12:38:48 -0700 Message-ID: <12261732.post@talk.nabble.com> Date: Tue, 21 Aug 2007 12:38:48 -0700 (PDT) From: ttvvaa To: pgsql-jdbc@postgresql.org Subject: Re: JDBC COPY error encoding In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ttvvaa@gmail.com References: <12236825.post@talk.nabble.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.26 tagged_above=0 required=5 tests=AWL=0.370, BAYES_20=-0.74, DNS_FROM_OPENWHOIS=1.13, WHOIS_MYPRIVREG=1.499 X-Spam-Level: ** X-Archive-Number: 200708/88 X-Sequence-Number: 17401 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.