strlen() and UTF-8 encoding
问题 Assuming UTF-8 encoding, and strlen() in PHP, is it possible that this string has a length of 4? I'm only interested to know about strlen(), not other functions This is the string: $1�2 I have tested it on my own computer, and I have verified UTF-8 encoding, and the answer I get is 6. I don't see anything in the manual for strlen or anything I've read on UTF-8 that would explain why some of the characters above would count for less than one. PS: This question and answer (4) comes from a