Try to fix some encoding problems.