Module utf8

Source

Functions§

escape_non_utf8
Convert input bytes to String by escaping invalid UTF-8 as escaped hex bytes (e.g. “\xC3”).