Article 3PXZH Microsoft to bring Unix/macOS line ending support to Notepad

Microsoft to bring Unix/macOS line ending support to Notepad

by
donotreply@osnews.com ()
from OSnews on (#3PXZH)
After decades of mangling text files coming from other operating systems. Microsoft's venerable Notepad.exe, which has been included in every version of Windows since the first, is finally getting support for Unix and macOS line endings.Notepad, being a Windows application, has always demanded the CRLF pair. When faced with Unix files - quite common for source code and similar things - it sees the bare-naked LFs and prints them as black squares. Because it doesn't start a new line when faced with a naked LF, it shows the entire contents of the file as a single lengthy line, which makes it hard to read, much less edit.But in the next update to Windows (likely to arrive in October or thereabouts), Notepad will handle Unix and classic MacOS line endings in addition to the Windows kind. This will make the editor much more useful than it currently is.Support is somewhat limited - while it will correctly open files with alternate line endings, and will save the files correctly in their original format, you cannot create new text files and save them with Unix or MacOS line endings - Notepad will always save new files with the CRLF style used in Windows.And, in true Microsoft function, Notepad provides a registry switch if you want to disable the new functionality for compatibility reasons, which only confirms the idea that there is an XKCD comic for everything.
External Content
Source RSS or Atom Feed
Feed Location http://www.osnews.com/files/recent.xml
Feed Title OSnews
Feed Link https://www.osnews.com/
Reply 0 comments