fix encoding names