Show invalid-input bytes
Submitted by Behdad Esfahbod
Link to original bug (#503086)
Description
When bug 503083 is fixed, it would be very easy to show the invalid byte instead of drawing a crossed box. We still put -1 in the text, to make sure working on the string with glib utf-8 functions is safe, but also create a box attribute...
Main question then would be what to do with the attribute. We can have a list of private attributes and merge them with user-set attributes when itemizing. That would still leak to users in the item's analysis though. Not sure.