Set the expected encoding of script output to UTF-8.