X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A2CA5D1E09A for ; Wed, 10 Mar 2004 11:21:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 42079-08 for ; Wed, 10 Mar 2004 07:21:56 -0400 (AST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 1E41CD1DD40 for ; Wed, 10 Mar 2004 07:21:53 -0400 (AST) Received: (qmail 29987 invoked by uid 0); 10 Mar 2004 11:21:53 -0000 Received: from 195.230.58.108 by www66.gmx.net with HTTP; Wed, 10 Mar 2004 12:21:53 +0100 (MET) Date: Wed, 10 Mar 2004 12:21:53 +0100 (MET) From: "Kubilay Osman Erdem" To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Subject: X-Priority: 3 (Normal) X-Authenticated: #14978202 Message-ID: <26732.1078917713@www66.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/56 X-Sequence-Number: 9601 I installed PG 7.3.4 and created DB with encoding “LATIN10” . I tried to import Flat-File with Copy Command String delimeter =";"; String FILEPATH ="/home/kerdem/upstream/LIQ.txt"; String pgcopy ="copy public.liq_import from '"+FILEPATH+"' with delimiter '"+delimeter+"' NULL AS '' "; pstmt = con.prepareStatement(pgcopy); pstmt.executeUpdate(); pstmt.close(); I am getting WARNING: copy: line 2, UtfToLocal: could not convert UTF-8 (0xe47469). Ignored WARNING: copy: line 7, UtfToLocal: could not convert UTF-8 (0xf66765). Ignored WARNING: copy: line 7, UtfToLocal: could not convert UTF-8 (0xe4676e). Ignored WARNING: copy: line 8, UtfToLocal: could not convert UTF-8 (0xe4747a). Ignored WARNING: copy: line 12, UtfToLocal: could not convert UTF-8 (0xc472). Ignored WARNING: copy: line 13, UtfToLocal: could not convert UTF-8 (0xe4727a). Ignored ....... .... .. I cannot import special letter like (ä,ß,ü,ö). But wenn I use same command from psql console in DB I can import all of the special letter, copy public.liq_import from '/home/kerdem/upstream/LIQ.txt' delimiter ';' NULL as '' ; I would appreciate any help. -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz