make sure script is encoded as utf-8