Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function toUnicode
import { toUnicode } from "https://deno.land/x/denogres@v4.0.1/vendor/deno.land/std@0.173.0/node/internal/idna.ts";

Converts a Punycode string representing a domain name or an email address to Unicode. Only the Punycoded parts of the input will be converted, i.e. it doesn't matter if you call it on a string that has already been converted to Unicode.

Parameters

input: string

The Punycoded domain name or email address to convert to Unicode.