X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0EFE99FB2D5 for ; Fri, 14 Jul 2006 13:07:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 37909-05 for ; Fri, 14 Jul 2006 13:07:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sydney.mailnetwork.co.uk (server88-208-192-113.live-servers.net [88.208.192.113]) by postgresql.org (Postfix) with ESMTP id A1CAA9FB2D0 for ; Fri, 14 Jul 2006 13:07:10 -0300 (ADT) Received: from [213.146.143.243] (port=2203 helo=[172.16.208.156]) by sydney.mailnetwork.co.uk with esmtpa (Exim 4.60) (envelope-from ) id 1G1QC4-0008Ke-R6; Fri, 14 Jul 2006 17:07:08 +0100 Message-ID: <44B7C17E.7080901@andycc.net> Date: Fri, 14 Jul 2006 17:08:30 +0100 From: Andy Shellam User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Chaun Keating CC: pgsql-admin@postgresql.org Subject: Re: Ora2Pg and export of Multbyte UTF8 characters References: <20060714154218.10234.qmail@web55703.mail.re3.yahoo.com> In-Reply-To: <20060714154218.10234.qmail@web55703.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/118 X-Sequence-Number: 22364 Is your database and client encoding set to UTF-8? That's about all I can think of. Chaun Keating wrote: > Hello, I have gotten Ora2pg to work fairly well for > me, but I am having an issue where mutibyte characters > are being substituted with replacement characters on > export from Oracle. > > I used both the output to a file and the direct import > to a PG database and see a bunch of question marks > instead of my multibyte chars. > > I have pulled text directly from each database using > the exact same DBD::Oracle and DBD::Pg modules and the > Oracle set displays the multibytes appropriately, so I > believe I have elminated that module as a potential > problem. > > The oracle characters from the original table look > fine when I select from the table. An example (which > may or may not come through correctly for everyone) is > as follows: >

16を基数とした数。16進数では、0~9までの桁数字を通常どおり

> > The postgres characters from the destination table > look like: >

16????????16?????0?9????????????????????????

> > Any hints as to what I need to do to get them > corrected. When I output to a flat file it appears as > though the question marks are in the flat file so > something on export seems to be getting corrupted. > > Thanks, > Chaun > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > > !DSPAM:14,44b7bf7434536342414476! > > >