The ASL interpreter assumes that ASL Script files are UTF-8 encoded. The interpreter will recognize a valid UTF-8 BOM if it is present. The file may contain a valid UTF-8 BOM, but it is not required.

ASL is assumed to be working with UTF-8 strings all the time. The string type in ASL is assumed to be a UTF-8 string.

You can print a string by performing the following:

  • Extract the localized string.

  • Apply substitutions to the string.

  • Print the final rendered string.