Skip to content

Instantly share code, notes, and snippets.

@praveensewak
Created April 9, 2020 05:27
Show Gist options
  • Save praveensewak/42534173da730482662a82c0c72d8c1e to your computer and use it in GitHub Desktop.
Save praveensewak/42534173da730482662a82c0c72d8c1e to your computer and use it in GitHub Desktop.
var chinese = [
[0x4e00, 0x9fff], // CJK Unified Ideographs
[0x3400, 0x4dbf], // CJK Unified Ideographs Extension A
[0x20000, 0x2a6df], // CJK Unified Ideographs Extension B
[0x2a700, 0x2b73f], // CJK Unified Ideographs Extension C
[0x2b740, 0x2b81f], // CJK Unified Ideographs Extension D
[0x2b820, 0x2ceaf], // CJK Unified Ideographs Extension E
[0xf900, 0xfaff], // CJK Compatibility Ideographs
[0x3300, 0x33ff], // https://en.wikipedia.org/wiki/CJK_Compatibility
[0xfe30, 0xfe4f], // https://en.wikipedia.org/wiki/CJK_Compatibility_Forms
[0xf900, 0xfaff], // https://en.wikipedia.org/wiki/CJK_Compatibility_Ideographs
[0x2f800, 0x2fa1f], // https://en.wikipedia.org/wiki/CJK_Compatibility_Ideographs_Supplement
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment