I am developing a small java application. At some point i am writing some data in a plain text file. Using the following code:
Writer Candidateoutput = null;
Window's Notepad needs \r\n to display a new-line correctly. Only \n is ignored by Notepad.
\r\n
\n