Cn Unicode Info

Get Unicode codepoint, name, and category for characters. Support Chinese characters, English text, emoji. Pure Python standard library, no API key required.

Audits

Pass

Install

openclaw skills install cn-unicode-info

Unicode Info

Look up detailed Unicode information for any character.

Features

  • Display Unicode codepoint in hex format
  • Show Unicode character name
  • List character category (Letter, Number, Punctuation, etc.)
  • Support all Unicode characters including Chinese and emoji
  • Pure Python, no external dependencies

Usage

python3 scripts/unicode_info.py --text "你好世界🔧"

Example Output

{
  "chars": [
    {"char": "你", "codepoint": "0x4f60", "name": "CJK UNIFIED IDEOGRAPH-4F60", "category": "Lo"},
    {"char": "好", "codepoint": "0x597d", "name": "CJK UNIFIED IDEOGRAPH-597D", "category": "Lo"},
    {"char": "世", "codepoint": "0x4e16", "name": "CJK UNIFIED IDEOGRAPH-4E16", "category": "Lo"},
    {"char": "界", "codepoint": "0x754c", "name": "CJK UNIFIED IDEOGRAPH-754C", "category": "Lo"},
    {"char": "\U0001f527", "codepoint": "0x1f527", "name": "WRENCH", "category": "So"}
  ],
  "length": 5
}

Use Cases

  • Identify unknown characters or emoji
  • Debug encoding issues
  • Extract character properties for text processing