Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 22:53, 25 July 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to show unicode characters using resource file

From Wiki
Jump to: navigation, search
Article Metadata
Created: rathodavinash (28 Jun 2007)
Last edited: hamishwillee (25 Jul 2012)

The following article shows how to show unicode characters using just the resource file. For example to show a character "↑" the following steps are required

  • Create a file arrow.loc, using notepad
#define qtn_arrow "↑"
  • Get the symbol you want from the 'character map' application on windows.

Save the file in the UTF-8 format. i.e. in notepad do "Save As" and in format choose UTF-8.

  • Include in rss
#include "arrow.loc"
buf = qtn_arrow;
  • Cpp code to show the character
TBuf<20> myarrow;
This page was last modified on 25 July 2012, at 22:53.
25 page views in the last 30 days.