🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17425

Re: Problems writing newlines to a file

#17425
From: Matt Butler
Date: Fri, 20 Nov 1998 00:00
20 lines
1245 bytes
Thanks for the tip. I haven't got around to trying it yet, instead I ended
up writing bytes 13 and 10 which seemed to work fine.

The weird thing is, after viewing the file in different ways, only in
Notepad did it look wrong. In both Jbuilder and Word, the newlines were
there. But in Notepad, only unprintable characters showed.

Matt

Vladimir Olenin wrote in message <36533B08.3B174FB2@collegemail.com>...
>Actually, yes. Try changing "\n" with "enter" code (see description of
>Char class, as i remember) or Char.ENTER field. (I mean
>"test"+'Char.ENTER') This could work. Anyway, u should look through Char
>class.
>
>                      Vladimir
>
>
>Matt Butler wrote:
>>
Technical Details
Message-ID: <734lcj$ek11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <72sc3h$14a13@forums.borland.com> <36533B08.3B174FB2@collegemail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1b6563995c977abb
X-Google-Attributes: gidf74b3,public
From: "Matt Butler" <butler@cyberramp.net>
Subject: Re: Problems writing newlines to a file
Date: 1998/11/20
Message-ID: <734lcj$ek11@forums.borland.com>
X-Deja-AN: 413990500
References: <72sc3h$14a13@forums.borland.com> <36533B08.3B174FB2@collegemail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language