When I open up my asp code in an editor, I see TONS of extra whitespace between code lines which is making the editor bomb out because it takes so long to load all the lines. When I open up the asp code in notepad I see weird square like characters where the extra whitespace is. I have tried doing a find/replace on the characters, but that hasn't worked. Does anybody know anyway of getting rid of these characters??? Please help, I am desperate.
Need URGENT help with extra whitespace characters in code
Collapse
X
-
Tags: None
-
Hi WebQueen,
Which editor are you using and are they just .asp files you are trying to open?
Dr B -
It might be that your file is corrupt.
On a side note. Notepad is a fine old tool but you might want to look into Notpad++. It’s a powerful editor free tool.
But if you want to buy a powerful editor then give a look at UltraEdit. It is the best in my opinion.
Comment
-
You're just going to have to delete the screwy characters manually. I would tend to think the file probably got corrupted but i've also seen WYSIWYG web bots do this to files before under certain circumstances. As for the white space, I wish I could show you some before and afters of some of the files I've ripped apart which were created using wysiwygs - you want to talk about white space? Trying 20kb of it in a single file.Originally posted by webqueen79Does anybody know anyway of getting rid of these characters??? Please help, I am desperate.
Don't know if these files have been touched by a WYSIWYG before, but that is one possibility - other than that the only explanation I could offer is that your server just decided to give you a headache one day and corrupted the file on ya...
It sounds like you can open it in notepad with out the file crashing so i'd go in there and remove a bunch of them, re-save the file under a DIFFERENT file name so as not to kill the original copy - who knows what those characters really are.. could be part of your actual code.. and then try to open it in your favourite editor again.
Sincerely,
MarkComment
Comment