Path: news.daimi.aau.dk!news-feed.inet.tele.dk!bofh.vszbr.cz!uninett.no!Norway.EU.net!not-for-mail From: toriw@online.no (Tor Iver Wilhelmsen) 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:55:13 GMT Organization: Viewpoint as (non-representative) Lines: 26 Message-ID: <3519fe02.930208@news.eunet.no> References: <6f3p9b$ntb@fridge.shore.net> NNTP-Posting-Host: 195.1.240.157 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.451 Xref: news.daimi.aau.dk comp.lang.java.gui:12076 comp.lang.java.help:20366 comp.lang.beta:11497 On Wed, 25 Mar 1998 18:30:06 -0500, Michael Hayes uttered: >If someone out their does not believe me, try setting the >text of a TextArea to \r and see the square. The Ascii character set is >universal in the computer industry, and has been for quite some time. >Why isn't it supported now? FYI: 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. 2) Both Netscape and Sun's VMs use a native peer for TextArea - if Microsoft's doesn't, they are probably aware of some limitation... 3) Very few of ASCII's "controls" have any meaning these days: ^G is not guaranteed to give a audible sound, for instance. and when was the last time you saw someone separate a package header from the body with SOH and EOH? -- "Between our dreams and actions lies this world." - Bruce Springsteen, "Dead Man Walking" Tor Iver Wilhelmsen toriw@online.no