http://www.perlmonks.org?node_id=511140


in reply to Re: Notepad: I'm seeing squares.
in thread Notepad: I'm seeing squares.

I viewed the file and the double squares do equate to 0D0A. That's what it's supposed to be right?

Replies are listed 'Best First'.
Re^3: Notepad: I'm seeing squares.
by pboin (Deacon) on Nov 23, 2005 at 16:00 UTC
    Yes. x'0D0A' is valid DOS carriage control. But notepad shouldn't be putting up boxes for it. Any chance you can post your text file somewhere so others can test it? Or, maybe you can reproduce the problem w/ non-sensitive data.
      No. I see the squares in the hex viewer too. Is that normal? It does interpret them as x0d0a, but they are squares, nonetheless.