[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Binary vs. text



Reply to note from flash  Fri, 13 Jul 2007 07:37:29
+0200

> Is it correct to conclude that the reason why SAving the .dct
> file (as if it were displayable text) corrupts it is that there
> is an instance of a saccrosanct character in the middle of it,
> thereby truncating much of the dictionary?

Sure. Open DICT.SPL in a hex reader, such as LIST.COM, and you'll
see a 1Ah 66 bytes from the top of the file. If you CAll and then
SAve that file in XyWrite, you'll lose everything beyond it. Try
SAving it under a different filename: do SA DICT.TST, then
DIR DICT.TST, and you'll see something like this:

DICT   TST     67   7-13-2007 10:31pm

There you have it: a 110K file truncated to 66 bytes, plus 1 for the
EoF Ascii-26, makes 67. Q.E.D.

--
Carl Distefano
cld@xxxxxxxx