Re: dbf2pg international characters handling incomplete

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Márcio Dick Smiderle <dick(at)inf(dot)ufsc(dot)br>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: dbf2pg international characters handling incomplete
Date: 2003-09-27 22:25:10
Message-ID: 200309272225.h8RMPA418386@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


OK, patch attached and applied for 7.4. Thanks.

---------------------------------------------------------------------------

Mrcio Dick Smiderle wrote:
> 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 */
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 610 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Eric B.Ridge 2003-09-27 23:31:37 Re: Can't Build 7.3.4 on OS X
Previous Message Tom Lane 2003-09-27 22:10:46 Re: [7.4beta3] pg_dump -t xxx won't output sequences