Skip to main content
Go to Latest
function utfEncode
Re-export
import { utfEncode } from "https://deno.land/x/simple_utility@v0.0.15/mod.universal.ts";

Convert from unicode string to UTF-8 byte array.

Parameters

data: string

unicode string.