📏 按码位范围提取Extract Unicode Range
只保留码位落在起止范围(含两端)内的字符;码位写 U+41、0x41 或十六进制 41。本地处理。Keep only characters whose code points fall in an inclusive range; write code points as U+41, 0x41 or hex 41. Processed locally.
使用说明与常见问题How-to & FAQ
「按码位范围提取」是什么?What is the Extract Unicode Range tool?
只保留码位落在起止范围(含两端)内的字符;码位写 U+41、0x41 或十六进制 41。本地处理。Keep only characters whose code points fall in an inclusive range; write code points as U+41, 0x41 or hex 41. Processed locally.
如何使用「按码位范围提取」?How do I use the Extract Unicode Range tool?
在「按码位范围提取」中,把内容粘贴或输入到上方输入框,按需设置「起始码位」、「结束码位」、「占位符」,结果会实时显示在下方,点击「复制结果」即可复制。In the Extract Unicode Range: Paste or type into the input box, adjust "From code point", "To code point", "Placeholder"; the result appears below instantly — click "Copy result" to copy it.
码位怎么写?How do I write the code points?
U+41、0x41 和纯数字 41 都按十六进制读取(与“码位转 Unicode”默认一致),所以 41 就是字母 A。两端都包含在内。U+41, 0x41 and the bare number 41 are all read as hex, the same default as Convert Code Points to Unicode, so 41 is the letter A. Both ends are included.
起止写反或留空会怎样?What if the range is reversed or empty?
起始大于结束、或任一项留空时会报错并说明原因,不会悄悄交换或当作 0。A From greater than To, or an empty field, gives an error saying why; the values are never swapped or treated as 0 silently.
会上传文本吗?Is my text uploaded?
不会,全部在浏览器里用 JavaScript 处理,文本不会离开你的设备。No. Everything runs in your browser with JavaScript and the text never leaves your device.
输入和输出是什么样的?What does the input and output look like?
例如在「按码位范围提取」中输入 ABCabc,「起始码位」设为 U+41,「结束码位」设为 U+5A,输出为:ABC。For example, the Extract Unicode Range turns the input ABCabc, "From code point" set to U+41, "To code point" set to U+5A into: ABC.
有哪些选项可以调整?What options can I adjust?
「按码位范围提取」的设置:「起始码位」默认 U+41;「结束码位」默认 U+5A;「占位符」默认 _;可勾选:「范围外用占位」、「每个字素只占一位」。每次生成结果都按当前设置处理。Settings in the Extract Unicode Range — "From code point" default U+41; "To code point" default U+5A; "Placeholder" default _; tick boxes: "Placeholder outside range", "One placeholder per grapheme". The result always uses the current settings.
处理大段文本会卡吗?Can it handle long text?
「按码位范围提取」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Extract Unicode Range runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.
「按码位范围提取」免费吗?需要注册吗?Is the Extract Unicode Range free? Do I need an account?
「按码位范围提取」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Extract Unicode Range is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.