Im trying to export some data from my database to a file. I m using the `DataOutputStream` because I need the method `writeChars(String r)`.

The problem is that I cannot find a way to change the line. the `"\n"` leaves a space but its not changing the line. Is there any way to do it?