rick
May 19th, 1999, 03:47 PM
Hi! All hope everything is going good...
Me? Well I have this little problem you see,
I have to find the character value UNICODE style for characters with values greater than 255 or even special characters such as a with an acute accent.
It's not as easy as you might think,
if you can help me I would appreciate it greatly.
If any one has a question about UNICODE I have been reseaching it extenevly for the past few weeks and I have come to learn quite a bit about it.
Here is some code that I use the convert UNICODE to char:
// _UNICODE define in the project settings.
CString szCharCode;
szCharCode = "0x010b";
// 0x010b is represents small c with dot above.
wchar_t wChar;
wChar = wcstoul( szCharCode, NULL, 0);
szDecodedChar = wChar;
//szDecodedChar now holds the c dot above char.
// some code to output the character.
Me? Well I have this little problem you see,
I have to find the character value UNICODE style for characters with values greater than 255 or even special characters such as a with an acute accent.
It's not as easy as you might think,
if you can help me I would appreciate it greatly.
If any one has a question about UNICODE I have been reseaching it extenevly for the past few weeks and I have come to learn quite a bit about it.
Here is some code that I use the convert UNICODE to char:
// _UNICODE define in the project settings.
CString szCharCode;
szCharCode = "0x010b";
// 0x010b is represents small c with dot above.
wchar_t wChar;
wChar = wcstoul( szCharCode, NULL, 0);
szDecodedChar = wChar;
//szDecodedChar now holds the c dot above char.
// some code to output the character.