add support for chinese characters.