set encoding=utf-8 before scriptencoding utf-8 (this is necessary for Windows)