Path: news.daimi.aau.dk!news-feed.inet.tele.dk!bofh.vszbr.cz!newsfeed.wli.net!pln-w!spln!extra.newsguy.com!newsp.newsguy.com!rnewman From: rnewman@thecia.net (Ron Newman) Newsgroups: comp.lang.java.gui,comp.lang.java.help,ne.general,comp.lang.beta Subject: Re: Word Process Anywhere Beta Testers Needed Date: Thu, 26 Mar 1998 07:18:07 -0500 Organization: http://extra.newsguy.com Lines: 17 Message-ID: References: <6f3p9b$ntb@fridge.shore.net> <3519fe02.930208@news.eunet.no> NNTP-Posting-Host: p-451.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.4.0 Xref: news.daimi.aau.dk comp.lang.java.gui:12091 comp.lang.java.help:20394 comp.lang.beta:11499 In article <3519fe02.930208@news.eunet.no>, toriw@online.no (Tor Iver Wilhelmsen) wrote: > 1) What constitutes "end-of-line" is platform dependent: On Unix, it's > '\n', on PCs it's "\r\n", and on Macs its '\r'. For instance, > java.util.io.PrintStream.println() uses the native string > (System.getProperty("line.separator")), which makes it useless for > "real" cross-platform work. If you're writing in a cross-platform language like Java, shouldn't you not have to worry about this? The language should provide an appropriate implementation for each platform which hides this difference entirely. -- Ron Newman rnewman@thecia.net http://www2.thecia.net/users/rnewman/