Linux command
chars 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display character information
chars [character]
Look up by Unicode codepoint
chars [U+1F63C]
Look up by numeric code
chars [10]
Look up a control character
chars "[^C]"
Search for characters
chars [query]
说明
chars is a command-line tool for displaying detailed information about ASCII and Unicode characters and code points. Inspired by `ascii(1)` and `unicode.py`, it supports whitespace and control characters. For each character it prints the Unicode codepoint, encoding representations (hex, octal, UTF-8, UTF-16), display width, Unicode name and aliases, case variants, and escape sequences. Characters can be looked up by literal form, by `U+` codepoint, by numeric code, or by control-character notation. It is written in Rust and useful for developers working with Unicode text or debugging encoding issues.
参数
- -h, --help
- Display help information.
- -V, --version
- Display version information.
FAQ
What is the chars command used for?
chars is a command-line tool for displaying detailed information about ASCII and Unicode characters and code points. Inspired by `ascii(1)` and `unicode.py`, it supports whitespace and control characters. For each character it prints the Unicode codepoint, encoding representations (hex, octal, UTF-8, UTF-16), display width, Unicode name and aliases, case variants, and escape sequences. Characters can be looked up by literal form, by `U+` codepoint, by numeric code, or by control-character notation. It is written in Rust and useful for developers working with Unicode text or debugging encoding issues.
How do I run a basic chars example?
Run `chars [character]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -h, --help do in chars?
Display help information.