Re: preg_replace ^M
| From: | Torsten Rosenberger | Date: | Thu, 06 Nov 2003 14:21:26 +0000 |
| Subject: | Re: preg_replace ^M | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168723@lists.php.net to get a copy of this message | ||
> So that program is writing \r\n as the newline instead of just \n. It's
> still just your editor that's displaying the ^M. Maybe you should get a new
> editor.
i use vim
and the input file don't have \r\n they look normal in vim
after the preg_replace in php then they have the ^M
BR/Torsten