Hello,
I am trying to make a comma separated file, but I experience problems with line breaks, when opening the file with Notepad or reading the file into the financial system.
The web server, where the file is created, is running on UNIX, and I need to be able to open the file on a Windows platform.
When I open the file with Notepad I see a rectangle, instead of a line break. It works fine when opening the file using Excel or Wordpad.
I have tried to use the code below:
I have tried to replace System.getProperty("line.separator") with "\n" and "\n\r" but it doesn´t solve the problem.
Is it possible to solve the problem from the
Java code?