A perl string is a logical sequence of characters.
encoding a perl string produces a sequence of octets. decoding a sequence of octets produces a perl string.
utf8::is_utf8
tells you whether the string is a sequence of logical
characters (true) or a sequence of octets (false). You should not