通过按键显示Unicode字符 [英] displaying unicode characters via key press

查看:145
本文介绍了通过按键显示Unicode字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按任意键时如何在任何编辑器中显示Unicode字符.基本上,对于不同的按键,它应该显示不同的字符.

how can i display an unicode character in any editor when any key is pressed. basically it should display different characters for different key presses.

推荐答案

如何?答案是:容易.因为这些天大多数系统都支持Unicode.

进一步的细节取决于诸如平台,语言,使用的库等无聊的事物.看起来您不太在乎这一点. :-)



对于C ++,您需要通过
使用"UNICODE宏"
How? The answer is: easily. Because these days most systems support Unicode.

Further detail depend on such boring things as platform, language, used libraries, etc. It does not look like you care too much about that. :-)



With C++, you need to use "UNICODE macro" through
#define UNICODE


更确切地说,请参见:
http://www.cplusplus.com/forum/articles/16820/ [


More exactly, please see:
http://www.cplusplus.com/forum/articles/16820/[^].

Good luck,

—SA


这篇关于通过按键显示Unicode字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆