- May
- 13,211
- 180
Try this.
ECHO foo > foofoo.bat
BDEBUGGER foofoo.bat
In the editor, I see 5 "unprintables".
If I change that experiment to
ECHO foooooooooooooo > foofoo.bat
BDEBUGGER foofoo.bat
it appears correctly in the editor. I'm guessing that in the first case, the file is wrongly identified as Unicode (which is odd since QueryIsFileUnicode() seems to get it right).
ECHO foo > foofoo.bat
BDEBUGGER foofoo.bat
In the editor, I see 5 "unprintables".
If I change that experiment to
ECHO foooooooooooooo > foofoo.bat
BDEBUGGER foofoo.bat
it appears correctly in the editor. I'm guessing that in the first case, the file is wrongly identified as Unicode (which is odd since QueryIsFileUnicode() seems to get it right).