dbf2pg international characters handling incomplete - Mailing list pgsql-bugs

From Márcio Dick Smiderle
Subject dbf2pg international characters handling incomplete
Date
Msg-id 3F6EFDB4.2010100@inf.ufsc.br
Whole thread Raw
Responses Re: dbf2pg international characters handling incomplete  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Your name: Márcio Dick Smiderle
Your email address: dick@inf.ufsc.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  */




pgsql-bugs by date:

Previous
From: Rod Taylor
Date:
Subject: Re: select where id=random()*something returns two results
Next
From:
Date:
Subject: bug in clusterdb script