yii2: oralce中文,有的汉字是2个字节,有的汉字是3个字节

yii2: oralce中文,有的汉字是2个字节,有的汉字是3个字节

请用mb_substr转成1个英文字节

原文地址:https://www.cnblogs.com/achengmu/p/6593696.html