Assist with handling messed up encodings.