Welcome Stranger to OCC!Login | Register

Microsoft Finally Patches Notepad to Support Unix EOL Characters

Category: General News
Posted: 08:04AM
Author:

After years of incorrectly reading text files, Notepad has finally been patched to correctly read the End of Line (EOL) characters of other operating systems. This fix is in the current Windows 10 Insider build and means that when you load a file created on a Unix or Linux based OS or from a Mac, the lines will be correctly broken, and if you edit the file, it Notepad will maintain the correct EOL character.

In order to communicate to a text editor it is the end of a line, a special character is used that will not be shown to the user. On Windows the characters are CR (Carriage Return) and LF (Line Feed), which can be made visible in some other editors. On Unix and Linux just LF is used and on Mac it is CR, and for years Notepad would not treat these as EOL characters and just continue writing on the same line.

Source: Microsoft



Register as a member to subscribe comments.

© 2001-2018 Overclockers Club ® Privacy Policy
Elapsed: 0.1963920593   (xlweb1)