deeptig's blog

Problem while displaying the arabic text

Hi,
I have tried to display the text in the arabic format using the class CCnvCharacterSetConverter. I have pasted the code below. Please let me know what is the problem .
TBuf8<128> aText;
aText.Copy(_L("\u0634\u0627\u062f\u062c\u0645\u0647\u0648\u0645\u0646"));
CCnvCharacterSetConverter* aCharacterSetConverter = CCnvCharacterSetConverter::NewL();
if (aCharacterSetConverter->PrepareToConvertToOrFromL(KCharacterSetIdentifierJavaConformantUtf8,CEikonEnv::Static()->FsSession()) != CCnvCharacterSetConverter::EAvailable)

Syndicate content