Correcting wrong charset error