fix unknown encoding