Hello all
I have written an application which creates a text file, and then emails this file to the user.
The text file contains different lines of text, all of which are written with the command:
[lua]fileID:write(“some text\n”)
fileID:write(“some more text\n”)[/lua]
When this file has been emailed to my Mac & I open it with TextEdit it looks perfect, ie:
“some text
some more text”
If the same file is emailed to a Windows PC & opened with Notepad, there are no line breaks, ie
“some text some more text”
I have tried using “\r\n” but this does not work either.
Does anyone know how to do this??
thanks [import]uid: 74250 topic_id: 16235 reply_id: 316235[/import]