Decode to utf-8 first.