dbf2pg international characters handling incomplete

From: Márcio Dick Smiderle <dick(at)inf(dot)ufsc(dot)br>
To: pgsql-bugs(at)postgresql(dot)org
Subject: dbf2pg international characters handling incomplete
Date: 2003-09-22 13:48:36
Message-ID: 3F6EFDB4.2010100@inf.ufsc.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Your name: Márcio Dick Smiderle
Your email address: dick(at)inf(dot)ufsc(dot)br

System Configuration
---------------------
Architecture : k62 300

Operating System : Linux 2.4.21 elf

PostgreSQL version : PostgreSQL-7.2.1 and CVS(just dbf2pg)

Compiler used : gcc-3.3 and gcc-2.95

Please enter a FULL description of your problem:
------------------------------------------------

dbf2pg interprets international chars (áéíóú etc) as end of record
cell text.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Run dbf2pg with some records with non-ascii chars.

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

In the main() of dbf2pg add the line

setlocale(LC_ALL, ""); /* For isprint() to work correctly with other
charsets than 7 bit ascii */

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message E R 2003-09-22 15:43:34 Re: Can't Build 7.3.4 on OS X
Previous Message Rod Taylor 2003-09-22 12:55:42 Re: select where id=random()*something returns two results