[MacPlatform] Fixed UTF8Text support for AppleScript

Fixes bug #14775