set internal encoding to utf-8