🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #324

TextDataFile not saving with \r\n characters at end of line

#324
From: stevep
Date: Thu, 13 Mar 2008 09:05
14 lines
1244 bytes
Hi 

Can somebody tell me how I can control the end of line character on a save of TextDataFile class

sample code does something like...

tableDataSet1.getDataFile().save(tableDataSet1);

is there a property to control the end of each record. On a windows machine it is only adding a \n to the end of record?
 
  Additional information.. the System property line.seperator is set to \r\n. 

So there seems to be a bug in TextDataFile class?  
Technical Details
Message-ID: <47d8ee72$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,fdd79e7792a8718b,start
X-Google-Attributes: gid1073da,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "stevep" <stevep@bemac.com>
Sender: "stevep" <stevep@bemac.com>
Reply-To: "stevep" <stevep@bemac.com>
Subject: TextDataFile not saving with \r\n characters at end of line
Newsgroups: borland.public.jbuilder.database
X-User-Info: 81.130.168.49     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <47d8ee72$1@newsgroups.borland.com>
Date: 13 Mar 2008 02:05:54 -0700
X-Trace: newsgroups.borland.com 1205399154 207.105.83.66 (13 Mar 2008 02:05:54 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail