set internal encoding to UTF8