The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,615 other followers

NotePad++: Text Editor which shows \r\n (via: Stack Overflow)

Posted by jpluimers on 2015/01/26

I hadn’t monitored Notepad++ in a very long time, so I was glad that User Thomas Owens mentioned that it can show you the CR and LF codes:

With Notepad++, you can show end-of-line characters. It shows CR and LF, instead of “\r” and “\n”, but it gets the point across. […]

To use Notepad++ for this,

  1. open the View menu, open the Show Symbols slide out, and
  2. select either “Show all characters” or “Show end-of-line characters”.

I needed this because many development environments get confused when you have text files using a mix of line-break kinds (in my case LF, CR and CRLF).

–jeroen

via Text Editor which shows \r\n? – Stack Overflow.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: