mmittiga17 has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I hope someone can point me in the right direction or advise solution. I have a file under UltraEdit shows as a U-DOS, under TextWrangler it shows as UTF-16 EL. If I view the file in linux using vi, line ends in ^M. I am trying to convert it to DOS format using Perl. I am running This is ActiveState perl, v5.10.0 on a win box. Nothing seems to work for making this file ASCII DOS. I have tried s/\n/\r\n/; which does not work. Any suggestion or help would be greatly appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: U-DOS to DOS file conversion
by ikegami (Patriarch) on Jun 16, 2010 at 23:11 UTC | |
by mmittiga17 (Scribe) on Jun 17, 2010 at 01:13 UTC | |
by Anonymous Monk on Dec 03, 2013 at 06:10 UTC | |
by ikegami (Patriarch) on Dec 09, 2013 at 19:08 UTC |
Back to
Seekers of Perl Wisdom