O'Reilly logo

Learning WML, and WMLScript by Martin Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required