import { utfEncode } from "https://deno.land/x/simple_utility@v1.3.0/src/text.ts";
Convert from string to UTF-8 binary.
Examples
Example 1
Example 1
const text = "HelloWorld!";
const converted = utfEncode(text);
const restored = utfDecode(converted);