View Single Post
 
Old 09-19-2022, 04:04 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,991
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote