2

Often I have problems with formatting in Notepad on Windows XP Home. For example hidden space between characters or line breaks.

When I copy text with broken formatting to another place, it all becomes in its true form and messed up - unneeded line breaks for example. Also formatting also sometimes becomes cluttered which s confusing when working with HTML/PHP codes.

What's going on and how can I fix this?

6
  • 1
    Can you show us some screenshots or examples of what you are trying, what the expected result is and what you see instead?
    – slhck
    May 19, 2011 at 21:31
  • @slhck: I suspect this might have something to do with the other editor using UNIX LF line breaks, instead of Windows CR + LF.
    – paradroid
    May 19, 2011 at 22:04
  • @paradroid: It might also be that @Boris_yo is copying from .PDF files, which also frequently add extra spaces etc. May 19, 2011 at 22:14
  • a)Some of what you've said sounds like you're opening a text with its own carriage returns, and you've got Word Wrap. b)Another thing, regarding what people have said about windows/unix CRLF/LF Try opening it in wordpad that can read unix style line endings. c)Other than that perhaps funny high range unicode characters could play a role. I'd bet on 'b' then 'a'.
    – barlop
    May 19, 2011 at 22:19
  • did you find a solution?
    – oleschri
    May 31, 2011 at 10:32

1 Answer 1

3

Use Notepad++ (freeware) instead of Notepad.

Notepad++ will keep the correct line endings.

2
  • Not quite a solution though.
    – Boris_yo
    Aug 26, 2011 at 6:38
  • Of course not if you changed your OS away from Windows ;)
    – oleschri
    Aug 26, 2011 at 7:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .