Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

chars

> 开发工具
Open source

cha(rs) is a commandline tool to display information about unicode characters

188 stars0 likes1 views
WebsiteGitHub

About

cha(rs) is a commandline tool to display information about unicode characters

Cha(rs)

Use this tool to display names and codes for various ASCII (and unicode) characters / code points!

It's strongly inspired by ascii(1), but supports unicode characters; it's also inspired by unicode.py, but it attempts to support whitespace/control characters better.

Cha(rs) is currently probably failing at some other edge case, but I hope not.

Pronunciation

How do you pronounce "chars"? This is a contentious thing.

Installation

This package is tested on circle CI using the latest stable, beta and nightly releases. Older releases might work, but I'm focusing development mostly on the latest versions.

Plain crate installation without source code

cargo install chars --git https://github.com/antifuchs/chars.git

OS packages

Arch linux: There's an AUR package for chars.

MacOS There's a Homebrew package for chars.

Windows: There's a package available through Chocolatey.

Source installation

  1. Clone this repo,
  2. cd into the checkout,
  3. cargo install --path chars

Running

Look up a character by its face value:

chars 'ß'

Screenshot:

LATIN1 df, 223, 0xdf, 0337, bits 11011111
Width: 1 (2 in CJK context), prints as ß
Lower case. Upcases to SS
Quotes as \\u{df}
Unicode name: LATIN SMALL LETTER SHARP S

Look up a character by its unicode point:

chars U+1F63C

Screenshot:

U+0001F63C, &#128572; 0x0001F63C, \0373074, UTF-8: f0 9f 98 bc, UTF-16BE: d83dde3c
Width: 1, prints as 
Quotes as \\u{1f63c}
Unicode name: CAT FACE WITH WRY SMILE

Look up a character by ambiguous "char code" handwaving:

chars 10

Screenshot:

…

Look a control character:

chars "^C"

Screenshot:

ASCII 0/3,   3, 0x03, 0003, bits 00000011
Control character; quotes as \\u{3}, called ^C
Called: ETX
Also known as: End of Text

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcharactersclirustunicode

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具