如何在Eclipse的控制台中打印独特的ASCII?

发布于 2025-01-27 11:43:33 字数 122 浏览 3 评论 0原文

如何打印未在Eclipse控制台中添加的ASCII字符?我需要在游戏中使用一些charachers,每次获得“?”还是那样的smething?例如,我喜欢从Java的源代码中使用十进制或\ u2b1b中的11034。感谢您的帮助!

How can I print ASCII characters that are not added in the Eclipse Console? I need to use some charachters to my game and every time I get "?" or smething like that? For example I woudl like to use 11034 in decimal or \u2B1B from source code for java. Thanks for help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此刻的回忆 2025-02-03 11:43:33

ASCII是一个7位代码,包含128个字符。有意与使用UTF-8中Unicode中发现的前128个字符相同。代码点\ u2b1b远远超出了它,因此没有ASCII。

如果无法打印该代码,则可能是您使用的字体不包含a glyph 为此。

了解Unicode字符和字形。一个好的起点是 https://home.unicode.org/

ASCII is a seven bit code that contains 128 characters. Intentionally it is the same as the first 128 characters found in UNICODE using UTF-8. The code point \u2B1B is way beyond that and therefore no ASCII.

If that code cannot be printed, it is likely the font you are using does not contain a glyph for it.

Learn about Unicode characters and glyphs. A good starting point is https://home.unicode.org/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文