StringUtf8 Literals

A StringUtf8 literal is enclosed in double ("") or single ('') quotation marks, and is usually preceded by an at sign (@), as shown in the following example.

stringUtf8 := @"Jade Software";

If all of the characters are ASCII characters, as in the preceding example, the at sign is optional. The StringUtf8 literal can contain a non-ASCII character, by enclosing a value representing the character between an ampersand character (&) and a semicolon character (;), as shown in the following examples.

stringUtf8 := @"Copyright © Jade Software";
stringUtf8 := @"Copyright © Jade Software";
stringUtf8 := @"Copyright © Jade Software";

In the first example, a character entity reference defined in the HTML 4 standard is used.

In the second and third examples, the value of the Unicode code point of the character in decimal and in hexadecimal is used. To retrieve a list of supported character entity names and values, use the dumpCharacterEntityTable method of the System class.