Parsing text Top So what do you need to do? Recognizing the Unicode environment

Recognizing the Unicode environment

You may need to know whether your application is running in the Unicode environment or not. Here is some code to do this:

  CFont *font = CEikonEnv::Static()->NormalFont();
  TInt wid = font->CharWidthInPixels(TChar(0xa9));
  TBool unicodeEnabled = (wid == 0);

Otfried Cheong and Enfour, Inc. VersionĀ 2.59, December 31, 2000.

Parsing text Top So what do you need to do? Recognizing the Unicode environment