Fixed encoding problems with datascripts.