Returned text

Scripting actions that return text return it in the following encoding:


 * If the utf8 resource is true, it is encoded as UTF-8.
 * Otherwise on POSIX, it is encoded according to the current locale.
 * Otherwise on Windows, it is encoded using the system's ANSI code page.