
eval() Global Function
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
522
|
ActionScript Language Reference
string that is not a digit or a basic, unaccented Latin letter between A and Z or a and z. As
of Flash Player 6, the replacement hexadecimal escape sequences take the following format:
•If
System.useCodepage is false (the default), the character is replaced by one or more
hexadecimal escape sequences of the form
%xx, representing the UTF-8 sequence for
the character. Characters in the Unicode range 0–127 are encoded as
%xx (single-byte),
characters 128–2047 are encoded as
%xx%xx (double-byte), and characters 2048 and
above are encoded as
%xx%xx%xx (triple-byte).
•If
System.useCodepage is true and the system is not an Asian language double-byte sys-
tem, the character is replaced with a hexadecimal escape sequence
%xx, where xx is the
hex code point for the character. The code point is determined using the system code
page (typically Latin 1 on most Western computers). Note that on Macs, the system
code page is Mac Roman, but Flash uses Latin 1 instead.
•If
System.useCodepage is true and the system is an Asian language double-byte system,
the character is replaced with a hexadecimal escape sequence
%xx or %xx%xx, using the
double-byte character encoding supported by the system (for example, Shift-JIS).
Flash Player 5 behaves as if
System.useCodepage ...