yd/xd/jd UTF-8 double encoding fix