Name
characterSet — Return the identifier for the character set supported by the WMLScript interpreter
Usage
Lang.characterSet( )
Description
The WMLScript specification requires the interpreter to use a single character set internally. All strings in code to be executed must be converted to this single character set, which is used for determining the order of characters when comparing strings.
This function returns the MIBenum of this character set. This is an integer value defined by the Internet Assigned Numbers Authority (IANA). The list of all assigned MIBenum values can be found at ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets.
Example
Lang.characterSet( )
can return 1000
, meaning
Unicode
Get Learning WML, and WMLScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.