Skip to content

Instantly share code, notes, and snippets.

@JLHwung
Last active August 7, 2022 01:08
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JLHwung/06fca92ddd73a0acb2a738237fc431df to your computer and use it in GitHub Desktop.
Save JLHwung/06fca92ddd73a0acb2a738237fc431df to your computer and use it in GitHub Desktop.
The Poorman's Unicode Map of 通用规范汉字表

Add Unicode Codepoint mapping alongside the ideograph in Table of General Standard Chinese Characters (通用规范汉字表)

Run the snippet in the console when opening 通用规范汉字表.

$(".mw-parser-output dl dd").each(function(){$(this).append(`<small style="margin-left:1rem"><code>U+${$(this).text().replace(/[\d\s]+/i, "").codePointAt(0).toString(16).toUpperCase()}</code></small>`)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment