Click here to Skip to main content
13,087,941 members (67,911 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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.
Posted 27-Mar-12 15:59pm
SAKryukov 27-Mar-12 22:15pm
Platform? Language?
subhendu_m 27-Mar-12 22:18pm
language: visual c++
platform: mine is 64-bit.
SAKryukov 28-Mar-12 20:38pm
Just to note: you did not define the platform. It could be some Linux, Windows or many other systems. On Windows, it could be .NET or not, etc.
subhendu_m 29-Mar-12 10:33am
platform: windows, .net not used.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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. :-)

[EDIT: in response to a follow-up question]

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

More exactly, please see:[^].

Good luck,
subhendu_m 27-Mar-12 22:23pm
can u tell me some function to accomplish the same in visual c++?
SAKryukov 28-Mar-12 20:37pm
Sure, please see my updated answer, after [EDIT]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 28 Mar 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100