Hello,
I'm generating text files using C and prefer to use notepad to open the results. Whenever something uses and escape character (eg "\n"), notepad will display a box character. When I open up the same document in any other text editor, the boxes turn into the proper format. If I then save it using that program and the same name and extension, I can open notepad and see my document formatted correctly.
Example:
I open "data.dat" and I see:
It's not a problem or anything, it's just very annoying to use this intermediate step. This become especially apparent when notepad's memory-light structure is able to open something wordpad can't (eg 40,000+ lines). Sometimes though, I just have to break down and use a UNIX head,tail, or more.Code:[NOTEPAD] #1 10 3.0 (box)#2 11 1.0 (box)... [WORDPAD] #1 10 3.0 #2 11 1.0 ... [AFTER SAVING IN WORDPAD AND GOING BACK TO NOTEPAD] #1 10 3.0 #2 11 1.0 ...
Any thoughts?