开发者

How do I check if a string contains of at least one Chinese character?

How do I check if a string contains of开发者_如何学运维 at least one Chinese character?


try

mb_detect_encoding($str, "big5,gb2312");

potentially you need to use mb_detect_order to make it more precise

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜