×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Application name with super-sript character

    hi,
    Is it possible to make an application with a name that has a super-script like "x square", the square sign as we write mathematically ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Application name with super-sript character

    in theory, the application name is defined in file that can be saved Unicode, then the question rather is that whether the device font would have definitions for the defined character available.. So I would suggest taking the target device, and trying out whether it can show the selected Unicode character

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Application name with super-sript character

    Superscript 2, 3, TM and some others are usually present in the character sets. Superscript anything (complete alphabet, all digits) are unlikely.
    See the charts on http://www.unicode.org, specifically http://www.unicode.org/charts/ - there is a super/subscript chart (2070), but it is far from being complete and I would not expect it to be present in too many fonts.
    On the other hand 2 and 3 are in the Latin-1 supplement chart (80-FF), 0xB2 and 0xB3 respectively, I think you have good chances to find them in the actual fonts.

  4. #4
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: Application name with super-sript character

    This is the code what are produced by default by carbide editor.
    Code:
    RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    	{
    	short_caption = qtn_caption_string;
    	caption_and_icon = 
    	CAPTION_AND_ICON_INFO
    		{
    		caption = qtn_caption_string;
    
    		number_of_icons = 1;
    		icon_file = "\\resource\\apps\\CameraApp1_0xE76E32BB.mif";
    		};
    	}
    Here the qtn_caption_string is just a simple text string. I can't event add any formatting in it still. Can i load the application name from a file? I know how to read a file using RFile. But i don't know how to handle it in this rss file. If i can load app name from simple text file, i guess i would be able to handle unicode too. Would you help me ?

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Application name with super-sript character

    in Carbide, right click teh file, select properties from the pop-up menu, and then set the file text encoding to UTF8.

  6. #6
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: Application name with super-sript character

    I am using Carbide 2.7
    In the properties i found language mapping. And there are three options GNU C, GNU C++, ASSEMBLY. By default GNU C++ is selected. I didn't find UTF8 there. Nothing i found in there as "text encoding". I guess it depends on version of Carbide.

  7. #7
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,021

    Re: Application name with super-sript character

    Quote Originally Posted by Md. Kayesh View Post
    I am using Carbide 2.7
    In the properties i found language mapping. And there are three options GNU C, GNU C++, ASSEMBLY. By default GNU C++ is selected. I didn't find UTF8 there. Nothing i found in there as "text encoding". I guess it depends on version of Carbide.
    Nops that is not the case. You have look into the right section to find the option to change the encoding for resource/text files etc.

    Project->Properties->Resource

Similar Threads

  1. displaying japanese character or hindi character on phone
    By akhil0706 in forum Mobile Java General
    Replies: 4
    Last Post: 2010-08-04, 17:47
  2. Display unicode character in j2me application
    By munzur in forum Mobile Java General
    Replies: 1
    Last Post: 2008-06-18, 09:03
  3. Replies: 1
    Last Post: 2007-01-11, 16:50
  4. Chinese character in PC SMS Application
    By choonnyak in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2003-08-07, 02:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×