🔢 统计 Unicode 字符Count Unicode Characters
统计字素、码位、UTF-16 码元、UTF-8 字节和行数。本地处理。Count graphemes, code points, UTF-16 code units, UTF-8 bytes and lines. Processed locally.
使用说明与常见问题How-to & FAQ
「统计 Unicode 字符」是什么?What is the Count Unicode Characters tool?
统计字素、码位、UTF-16 码元、UTF-8 字节和行数。本地处理。Count graphemes, code points, UTF-16 code units, UTF-8 bytes and lines. Processed locally.
如何使用「统计 Unicode 字符」?How do I use the Count Unicode Characters tool?
在「统计 Unicode 字符」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。In the Count Unicode Characters: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it.
这些数字有什么区别?What is the difference between the counts?
字素是看到的一个字符(👨👩👧 算 1 个);码位是 Unicode 字符编号的个数(它由 5 个码位组成);UTF-16 码元等于 JavaScript 的 string.length(8);UTF-8 字节是存成 UTF-8 文件的大小(18)。A grapheme is what you see as one character (👨👩👧 counts as 1); code points count Unicode characters (it is made of 5); UTF-16 code units equal JavaScript's string.length (8); UTF-8 bytes are the size when saved as UTF-8 (18).
会上传文本吗?Is my text uploaded?
不会,全部在浏览器里用 JavaScript 处理,文本不会离开你的设备。No. Everything runs in your browser with JavaScript and the text never leaves your device.
处理大段文本会卡吗?Can it handle long text?
「统计 Unicode 字符」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Count Unicode Characters runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.
「统计 Unicode 字符」免费吗?需要注册吗?Is the Count Unicode Characters free? Do I need an account?
「统计 Unicode 字符」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Count Unicode Characters is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.