> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php