日文SJIS编码字符串字符数获取方法 //最大桁数 $cellData = "イシグロ シズ"; $strLength = mb_strwidth($cellData, mb_detect_encoding($cellData));