modify str_functs for utf8 gbk unicode trans