-
potch Safe for our current content, but maybe worth improving just in case. I think that's the same problem that punycode.js solves…
-
potch const punycode = require("punycode") const unicodeRange = (str) => { const chars = punycode.ucs2.decode(str).map((c) =>
U+${c.toString(16)}
); return chars.filter((c, i) => chars.indexOf(c) === i).join(','); };