I am using RandomAccessFile, to create a log file. The log file gets created fine, when I open it in UNIX (I mean the display layout). However, when I open the file in Windows, in notepad, then I see instead of '\n' a little square. So all the lines are created side by side in one line.
My question is how can I prevent that from happening, when I open in Windows?
Is there a special technique I can use to be able to implement '\n', when I open my file in Windowws?
Appreciate your adivise.
Thanks and regards.