How to convert character into Unicode value?
Being new to Indesign SDK development I have problem to convert the const char* into unicode value. And I am tried with the following code,But it gives the actual character..
UTF16TextChar *toUTFString = new UTF16TextChar[1];
int32 numWChars = ::CTUnicodeTranslator::Instance()->CharToTextChar(str, 1, toUTFString, 1);
PMString myString;
myString.AppendW(toUTFString, numWChars);
CAlert::InformationAlert(myString);
Please some one help me to that problem..Thanks in advance.
