Error getting tags :
error 404Error getting tags :
error 404 useUnicode | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
useUnicode
Basics
Expander triangle
Type
Property
Syntax
set the useUnicode to {true | false}
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies whether the charToNum and numToChar functions assume a character is double-byte.
Examples

set the useUnicode to true
set the useUnicode to (the number of items of myFont is 2)

Additional Comments
Expander triangle

Use the useUnicode property to prepare to convert between Unicode characters and their numeric values.

Value:

By default, the useUnicode property is false.

Comments:

If the useUnicode property is set to true, the numToChar and charToNum functions use double-byte characters. You can pass a number greater than 255 to the numToChar function in order to generate a double-byte character, and you can pass a double-byte character to the charToNum function.

If the useUnicode is false, the numToChar and charToNum functions use single-byte characters. Passing a double-byte character to charToNum or a number larger than 255 to numToChar will produce incorrect results if the useUnicode is false.

Since the useUnicode is a local property, its value is reset to false when the current handler finishes executing. It retains its value only for the current handler, and setting it in one handler does not affect its value in other handlers it calls.

User Comments
Expander triangle