Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function ucEncode
Re-export
import { ucEncode } from "https://deno.land/x/simple_utility@v0.0.10/mod.compatible.ts";

Convert from unicode string to UTF-8 byte array.

Parameters

data: string

unicode string.