\n newline character is ignored by java

Posted by user308806 on Stack Overflow See other posts from Stack Overflow or by user308806
Published on 2010-04-30T04:41:45Z Indexed on 2010/04/30 4:47 UTC
Read the original article Hit count: 295

Filed under:

Hello, I'm writing to a txt file and I'm appending \n (newline character). the character is shown clearly in System.out.println. but this character is not shown in the textfile. therefore, the textfile is composed by only one long line

© Stack Overflow or respective owner

Related posts about java