fix problem of processing chinese, ascii unicode