www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/09/12:07:08

Date: Mon, 9 Feb 1998 19:06:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Jeff T. Williams" <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: your mail
In-Reply-To: <199802091536.JAA00511@kendall.>
Message-ID: <Pine.SUN.3.91.980209190259.10361A-100000@is>
MIME-Version: 1.0

On Mon, 9 Feb 1998, Jeff T. Williams wrote:

> AFAIK the utility `utod' supplied with DJGPP only does NL to CR/LF
> conversion, and does *not* convert ISO standard characters to the
> corresponding DOS extended characters.

Correct.

> So, for Unix text files that use extended characters, I must first
> process them with unix2dos before I can use them on my PC.  If the
> files *don't* use extended characters, however, I can copy them over
> to the PC and run `utod' there.

Actually, you don't even need to use `utod', since most DOS utilities 
(certainly, the DJGPP ports) live quite well with Unix-style text files.

> Is there a DJGPP utility that does perform ISO-PC conversion, so that
> I could do all the conversion after copying Unix text files to the PC?

It is the purpose of the GNU `recode' package to perform such 
conversions.  There should be a DJGPP port of it available as 
v2gnu/rcode34b.zip from the usual DJGPP sites.

> Does djtar do this?

No.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019