Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id AB947633CE9 for ; Thu, 8 Apr 2010 13:18:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 17569-08 for ; Thu, 8 Apr 2010 16:18:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 1D35E633786 for ; Thu, 8 Apr 2010 13:18:41 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id B269328436; Thu, 8 Apr 2010 12:18:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=IJ5sYzyCFdhEt02TI9JHMHSuojI=; b=VLOOhH noA4LWHPXmoGgurs0Nl/ftfstE9PGqE9IzvZDVDh0ZvsxEF/FbrfLQ0bDQdPZ5+c 6kp9vdQszmNWB8Rtx/KBvugDpZD6aklGy+VdeFOnMB4bPb+Di15DqxdQpPe/l07l hjMDjVbQF+JyF6iEOvqikkE5n7DZ8pfDnwyxs= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id AA71F28411; Thu, 8 Apr 2010 12:18:39 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 7A403A424; Thu, 8 Apr 2010 12:18:39 -0400 (EDT) Date: Thu, 8 Apr 2010 12:18:39 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Leonardo F cc: pgsql-jdbc@postgresql.org Subject: Re: Problem with copyIn(String sql, Reader from) In-Reply-To: <151556.7059.qm@web29010.mail.ird.yahoo.com> Message-ID: References: <234987.48841.qm@web29001.mail.ird.yahoo.com> <151556.7059.qm@web29010.mail.ird.yahoo.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.789 tagged_above=-10 required=5 tests=AWL=-0.679, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201004/11 X-Sequence-Number: 20422 On Thu, 8 Apr 2010, Leonardo F wrote: > Sorry, I meant > > byte[] buf = encoding.encode(new String(cbuf, 0, len)); > That's right. Fixed in CVS. Kris Jurka