如何测试 Unicode“非字符” (lsep、rsep 等)?
是否有用于生成非字符的应用程序或实用程序,例如 U-2028 和 U-2029(行分隔符)?
Is there an application or a utility for generating non-characters, such as U-2028 and U-2029 (line separators)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的首选方法是在浏览器地址栏中输入例如:
,然后从页面复制并粘贴它们。
如果您确实需要经常输入此类字符,则可以使用 MSKLC 创建可以直接键入的键盘布局。例如,在我自己的键盘布局上,我在 Shift 和 Alt 与空格键的组合上有不间断空格、零宽度空格和半空格。
请注意,浏览器对显示这些特定字符的替换字形的支持可能会有所不同,因此如果您没有看到它们,请尝试其他浏览器。我在 Chrome (52.0.2743.116) 中可以看到它们。
My preferred method is to type into a browser address bar eg:
and then copy and paste them from the page.
If you really need to enter such characters a lot, you could potentially use MSKLC to create a keyboard layout that can type them directly. For example on my own keyboard layout I've got non-breaking-space, zero-width-space and half-space on shift and alt combinations with the space bar.
Note that browser support for displaying replacement glyphs for these particular characters may vary, so if you don't see them, try another browser. They are visible for me in Chrome (52.0.2743.116).
如果您使用的是 Windows,则不需要外部工具:按 alt、+ 号和十六进制代码。
如果您需要
\u2028
,请按Alt
和+
,然后2028
就会出现该符号。这取决于您使用的代码页。请参阅
https://en.wikipedia.org/wiki/Alt_code
和
https://en.wikipedia.org/wiki/Code_page
就我而言,使用我的代码页,我有输入替代代码 2028 时
ý
。If you are with Windows, you don't need external tools: press alt, and + sign, and the hex code.
If you need
\u2028
, you pressAlt
and+
, and2028
, the sign appears.It depends on the code page you are using. Please refer to
https://en.wikipedia.org/wiki/Alt_code
and
https://en.wikipedia.org/wiki/Code_page
In my case, with my code page, I have
ý
when typing alt code 2028.