upload function charPinyin