save to utf-8 encoding