fix escape method for japanese char