fix encoding character