help

I am writing a "txt" file. and the content is in the string that is to be writen on the file. but when i am writing, instead of showing new line which is present in the string the txt file shows a square bracket. and all text in one line. plz help me
[264 byte] By [chhapoliaa] at [2007-11-26 18:33:18]
# 1
Post code It sounds as though you are using the wrong new line character. If you are using bufferedWriter it has a newLine method which will deal with that for you also check out File i it has a separator attribute which you can also use
drellima at 2007-7-9 6:07:23 > top of Java-index,Core,Core APIs...
# 2
Try opening your file in an editor like "editplus" and test rather than opening it in Notepad. Notepad wouldn't be able to intepret the charaters exactly as you mean.You might find your program to be correct by doing this.
ebrahim.faisala at 2007-7-9 6:07:23 > top of Java-index,Core,Core APIs...