[eluser]dazed[/eluser]
Hello,
I thought that I would let you guys know how I managed to fix this issue in the end.
str_replace("\n","\r\n",$input)
I believe this is a Microsoft Notepad issue as it did not need this in Linux or Mac.
Hope my hours of head banging and perseverance helps someone else.
Cheers
Dazed