✂️ 拆成 Unicode 字符Split Unicode Into Characters
按字素簇(看到的字符)拆分,一行一个,Emoji 序列、国旗和带重音的字母不会被拆开;也可以改成按码位拆分。本地处理。Split into grapheme clusters (user-perceived characters), one per line, so emoji sequences, flags and accented letters stay whole; code points are available as an option. Processed locally.
使用说明与常见问题How-to & FAQ
「拆成 Unicode 字符」是什么?What is the Split Unicode Into Characters tool?
按字素簇(看到的字符)拆分,一行一个,Emoji 序列、国旗和带重音的字母不会被拆开;也可以改成按码位拆分。本地处理。Split into grapheme clusters (user-perceived characters), one per line, so emoji sequences, flags and accented letters stay whole; code points are available as an option. Processed locally.
如何使用「拆成 Unicode 字符」?How do I use the Split Unicode Into Characters tool?
在「拆成 Unicode 字符」中,把内容粘贴或输入到上方输入框,按需设置「拆分单位」、「分隔符」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「🇹🇼👍🏽❤️」,得到「🇹🇼 ⏎ 👍🏽 ⏎ ❤️」。In the Split Unicode Into Characters: Paste or type into the input box, adjust "Split into", "Separator"; the result appears below instantly — click "Copy result" to copy it. Example: "🇹🇼👍🏽❤️" → "🇹🇼 ⏎ 👍🏽 ⏎ ❤️".
什么是字素(字素簇)?What is a grapheme (grapheme cluster)?
字素(字素簇)就是看到的一个字符,它可能由好几个码位组成:例如 é 可以是 e 加一个组合重音符,👨👩👧 是用零宽连接符连起来的 5 个码位,🇹🇼 是两个区域指示符。本页按 Unicode 规则(UAX #29,即浏览器的 Intl.Segmenter)切分字素,所以这些都算 1 个,不会被拆开。A grapheme (grapheme cluster) is one user-perceived character, which can be made of several code points: é can be e plus a combining accent, 👨👩👧 is five code points joined by zero-width joiners, and 🇹🇼 is two regional indicators. This page splits graphemes with the Unicode rules (UAX #29, the browser's Intl.Segmenter), so each of these counts as 1 and is never broken apart.
分隔符可以写换行或制表符吗?Can the separator be a line break or a tab?
可以:取消“每个一行”后,分隔符里的 \n 表示换行,\t 表示制表符,\\ 表示一个反斜杠;分隔符留空则各字符直接连在一起。Yes. With One per line off, \n in the separator means a line break, \t a tab and \\ one backslash; an empty separator puts the characters straight together.
什么时候用“码位”?When should I use code points?
需要看清一个字符由哪些码位组成时:例如 👍🏽 按码位拆成 👍 和肤色修饰符 🏽,🇹🇼 拆成两个区域指示符,é 拆成 e 和组合重音符。拆出来的单个码位可能显示成方块或看不见。When you want to see which code points make up a character: 👍🏽 splits into 👍 and the skin-tone modifier 🏽, 🇹🇼 into two regional indicators, and é into e and a combining accent. A lone code point may show as a box or be invisible.
输入和输出是什么样的?What does the input and output look like?
例如在「拆成 Unicode 字符」中输入 a👨👩👧b,输出为:a ⏎ 👨👩👧 ⏎ b(⏎ 表示换行)。For example, the Split Unicode Into Characters turns the input a👨👩👧b into: a ⏎ 👨👩👧 ⏎ b (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「拆成 Unicode 字符」的设置:「拆分单位」可选 字素簇、码位(默认 字素簇);「分隔符」默认 |;可勾选:「每个一行」(默认勾选)。每次生成结果都按当前设置处理。Settings in the Split Unicode Into Characters — "Split into": Grapheme clusters, Code points (default Grapheme clusters); "Separator" default |; tick boxes: "One per line" (on by default). The result always uses the current settings.
处理大段文本会卡吗?Can it handle long text?
「拆成 Unicode 字符」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Split Unicode Into Characters runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.
「拆成 Unicode 字符」免费吗?需要注册吗?Is the Split Unicode Into Characters free? Do I need an account?
「拆成 Unicode 字符」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Split Unicode Into 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.