Mail Archives: djgpp/1998/02/09/12:07:08
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 -