Re: weird eof marker in text file?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rick Rothstein (rickNOSPAMnews_at_NOSPAMcomcast.net)
Date: 12/09/04


Date: Wed, 8 Dec 2004 23:55:41 -0500


> Chances are, you're correct. I suggested a hex editor to
> make sure. Good ol' Ctrl-Z

Or start up a copy of VB, type this in the Immediate window

     ? asc("")

then go back to Notepad, highlight the "funny looking" box character and
press Ctrl+C (to Copy the character into Windows clipboard). Then switch
back to VB and Paste the copy of the character in-between the quote
marks to produce this

     ? asc("")

Then hit the Enter key to see the ASCII value of the box character. For
this character, it show 26.

Rick



Relevant Pages

  • Re: weird eof marker in text file?
    ... > Or start up a copy of VB, type this in the Immediate window ... > press Ctrl+C (to Copy the character into Windows clipboard). ... > marks to produce this ... now to go look up a list of ascii codes ...
    (microsoft.public.vb.general.discussion)
  • RE: How do I remove the dots separating each word
    ... Execute this line from the immediate window in the IDE ... look for a character that looks like the mirror image of a P, ...
    (microsoft.public.word.docmanagement)
  • Re: Special characters
    ... the Immediate window and type or paste this into the window, ... Type Opt-F11 to return to Word. ... the unicode character. ...
    (microsoft.public.mac.office.word)
  • Re: Text files
    ... The most common form of text files use ASCII code, and there is no character ... Microsoft's DOS started its life as a CP/M look alike for the 8086/8 ... and added automatically a CTRL-Z at the end of text files ...
    (comp.lang.c)
  • Re: EOF location?
    ... I carefully noted in the rest of my reply that this is an API ... Certain application programs may still recognize Ctrl-Z and ... of File' is _not_ a character, it is the state of reading past the size ... No. stdin does not recognise EOT. ...
    (comp.lang.cobol)