How to count characters in a unicode string in C as 1 character

前端 未结 0 1209
迷失自我
迷失自我 2020-12-11 20:53

Lets say I have this string

const char* ch = "ب";
printf("%zu\\n", strlen(ch));

result is 2
how I count the unico

相关标签:
回答
  • 消灭零回复
提交回复
热议问题