Re: php files not looking right
| From: | Marek Kilimajer | Date: | Mon, 05 Jan 2004 01:40:54 +0000 |
| Subject: | Re: php files not looking right | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173717@lists.php.net to get a copy of this message | ||
1. Use an editor that can work with unix newlines, most developer editors can.
2. Use some tool that can convert between various newlines - search the web. Command line utility todos/fromdos is one, but it might be available only on unices.
John wrote:
hi, i must have downloaded my php files in binary format or something, but now, instead of readable carriage returns after each line of code, theres a 'box' and then no carriage return. so the whole file is on one line. then other files have an extra carriage return between lines. could i remove these with php and regular expressions?? if so, what should i be searching for, for the 'boxes' if not, can word or wordpad, or anything else do it. i could go through every file and delete the box and add a carriage return, but that would take ages