fix guessing utf-8