On Mon, 02 Apr 2018, rhkra...@gmail.com wrote: > A few weeks ago, I was looking for a byte that, in UTF-8, would be a totally > invalid byte (not an invalid sequence of bytes). At the time, I tried some > googling, but it looked rather hopeless (maybe it was my googling that was > hopeless).
0xff should work. But any of those in RED on the wikipedia article about UTF-8 would do for Unicode text: https://en.wikipedia.org/wiki/UTF-8 -- Henrique Holschuh