On Dec 04, 2006, at 21:56 UTC, David Lloyd wrote: > My application writes good text files when compiled as a Macintosh > application - complete with the the correct line breaks, etc. > > But when the same application is compiled for Windows and run from > there, the text files there lose the line breaks.
That's odd. Where are you getting this text, and how are you writing it? > I suppose this is a text encoding matter No, it's a line-endings matter. That's different. Text encodings are most likely not involved here. Part of the confusion here may be that Windows is a bit inconsistent about what should be used for line endings. Most controls (apart from the edit field) use one thing, while files use another. But TextOutputStream defaults to the correct thing, so if you use WriteLine to write a line, it should be followed by the right line ending for a file. HTH, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
