I am using windows vista and the problem is that \r i.e., carriage return does not work properly on my system. When I run my java code, it inserts a new line rather than returning the carriage.
Can anyone suggest a solution to this problem?
[QUOTE=simply2smart;1648549]It is working perfectly fine when I use: System.out.print but when I use outputStream.print The function of \r starts behaving like \n.[/QUOTE] You have got to understand that "carriage return" is a control character and the behaviour of "returning the carriage" only makes sense for some devices. From the wikipedia … Read More
Is there a problem if you use the System.getProperty("line.separator") String to end the lines in your file? Read More
Very odd. What did you do to be certain that it's null? What OS are you using? Read More
Edited by NormR1: n/a
Edited by simply2smart: n/a
Edited by ~s.o.s~: n/a
Edited by javaAddict: n/a