Quote:
I generate the .txt file with PHP and I use PHP_EOL for line break, which adds \r, \n\, or both \r\n, depending of server (Windows or Linux)
|
If you have control over the creation of the text file, can you not ensure that the created text file DOESN'T contain things that you can't deal with at the other end. Can you specify the PHP-created file format so the processing doesn't need to jump through hoops to decode it.