Finding the Character Set Supported by the WMLScript Interpreter of a Mobile Device: characterSet() Function

Preferences - Do not show ads

The characterSet() function is used to find the character set supported by the WMLScript interpreter of a mobile device. It returns a MIBEnum value defined by IANA (Internet Assigned Numbers Authority). Here is an example:


var characterSet = Lang.characterSet();


The following table lists some common character sets and their corresponding MIBEnum value:


Character Set

MIBEnum Value

iso-10646-ucs-2

1000

utf-8

106

us-ascii

3

iso-8859-1

4

iso-8859-2

5

iso-8859-3

6

iso-8859-4

7

iso-8859-5

8

iso-8859-6

9

iso-8859-7

10

iso-8859-8

11

iso-8859-9

12


The MIBEnum value of other character sets can be found at http://www.iana.org/assignments/character-sets.


Page 57 of 71 Previous Page | Next Page
Contents at a Glance
Print this Web Page | | Back to Top

Feedback Form (Expand)

What do you think about this web page?






WMLScript Tutorial Table of Contents WMLScript Tutorial Contents at a Glance Preferences - Change Color Scheme Preferences - Do Not Show Ads Previous Page Next Page