Re: mysterious c0 80

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Hi Michael,

> hexdump of this draft folder before I hit send:
>
> 0000520 2074 6f66 2072 6874 7461 0a2e 430a 756f
> 0000530 646c 6220 2e65 0a0a 000a
>
> Note 00 0a.

If one wrongly encodes NUL as two-byte UTF-8, intended for U+0080 to
U+7fff, one gets c0 80.  This is the bastard
https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8

-- 
Cheers, Ralph.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.