[File] Erroneous byte in Magdir/msdos?

Sudarshan S Chawathe chaw at eip10.org
Wed Feb 12 00:16:48 UTC 2025


In the file Magdir/msdos, there seems to be a strange byte at offset
108406.  Examining it in emacs gives:

  Char: \326 (4194262, #o17777726, #x3fffd6, raw-byte) point=108406 of
  127680 (85%) column=93

[I replaced the actual byte with the string "\326" above to avoid
potential email problems.]

Trying to read that line using 'input' in python3 gives:

  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position
  1909: invalid continuation byte

Is that byte a typo of some sort, or should that file be read using a
different text encoding (or method)?

Regards,

-chaw


More information about the File mailing list