|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Suggestion for an alternative XML 1.1
At 9:55 PM -0500 12/16/01, John Cowan wrote: >Elliotte Rusty Harold scripsit: > >> That's simply not true. Text editors on various platforms routinely >> and transparently recognize the \n, \r, and \r\n line ending >> conventions. > >vi does not, nor does Emacs. > No, Emacs most certainly does accept all three line ending conventions. I just tested it one more time and it had no trouble whatsoever recognizing DOS and Mac files. It even put a little "DOS" or "Mac" in the status bar to indicate what line ending convention was being used. I don't normally use vi, so I hadn't tested it before but I just did and it transparently recognized the DOS file. It could not handle the Mac file and displayed the the \r's as ^M. It couldn't handle NEL either. Thise it displayed as ~E. I'm not sure what that means. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








