🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.api
Article #3

FileWriter bug?

#3
From: Lars �ke Thornblad
Date: Fri, 18 Aug 2000 00:00
13 lines
1288 bytes
Hi!
From a FileWriter object I try to write some strings to file ending with a
new line. Instead of getting a new line I get  something like a bold
vertical bar?
It does not seemes to be any problem if I have started the FileWriter with
the 'FileWriter(String fileName)' constructor. I use the 'FileWriter(String
fileName, boolean append)'  constructor where I have the problem!
Is this some known problem and how can I come around it?
I have tried both to write the new line as "\n" and '\n' but with the same
result.
A strange thing is that I had the same problem in another program for first
then it suddenly started work, after just trying to alter between "\n" and
'\n' several times!?
Technical Details
Message-ID: <8nj924$p7p$1@newstoo.ericsson.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fecd1,86cc047533028e91,start
X-Google-Attributes: gidfecd1,public
X-Google-Thread: 1089d0,86cc047533028e91,start
X-Google-Attributes: gid1089d0,public
From: "Lars �ke Thornblad" <lars-ake.thornblad@era.ericsson.se>
Subject: FileWriter bug?
Date: 2000/08/18
Message-ID: <8nj924$p7p$1@newstoo.ericsson.se>
X-Deja-AN: 659703954
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: ericsson
X-MSMail-Priority: Normal
Newsgroups: comp.lang.java.api,borland.public.jbuilder.java.api