fix bug to enable to insert chinese charaters

fix bug to enable to insert chinese charaters