百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

chars

> 开发工具
开源

cha(rs) 是一个命令行工具,用于显示有关 Unicode 字符的信息

188 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

cha(rs) 是一个命令行工具,用于显示有关 Unicode 字符的信息

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcharactersclirustunicode

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

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