add functions to replace special chinese charaters