c字符数组里的中文

char *p ="你abc";

strlen(p); //6 utf-8编码中

原文地址:https://www.cnblogs.com/andyhe/p/3200051.html