如何在Eclipse的控制台中打印独特的ASCII?
如何打印未在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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/