Converting between UTF-8 and legacy character encodings, as the WHATWG Encoding Standard and glibc's iconv define them.