glib doesn't detect many invalid utf-8 sequences
Submitted by Behdad Esfahbod
Link to original bug (#733073)
Description
I recently reworked this in HarfBuzz. Can be copied.
https://github.com/behdad/harfbuzz/blob/master/src/hb-utf-private.hh
Link to original bug (#733073)
I recently reworked this in HarfBuzz. Can be copied.
https://github.com/behdad/harfbuzz/blob/master/src/hb-utf-private.hh