set encoding to UTF-8 when compiling