Web lists-archives.com

Re: Invalid UTF-8 byte? (was: Re: utf)


On Tue, 3 Apr 2018 07:43:02 -0400
rhkramer@xxxxxxxxx wrote:

> > maybe you could use the null byte?
> Thanks!
> Surprisingly (to me), this (and maybe several other of the control
> characters might work--I did a search of one of the files, and there
> are no null bytes.

I believe (please anyone correct me if I am wrong) that "text" files
won't contain any null byte; many text editors even refuse to open such a
file, I guess since they assume it is a "binary" file.
Probably it is the same with some other control characters like 04 (End
of Transmission). When I look at https://en.wikipedia.org/wiki/ASCII
it seems like 1C (File Separator) or 1E (Record Separator) might be 
appropriate choices for you. I'm no expert on this, though.

Best regards


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Oh, that sound of male ego.  You travel halfway across the galaxy and
it's still the same song.
		-- Eve McHuron, "Mudd's Women", stardate 1330.1