Produce a sequence of UTF-8 encoded bytes from the provided string.
List<int?> encodeUtf8(String str) => codepointsToUtf8(stringToCodepoints(str));