http://www.perlmonks.org?node_id=1031815


in reply to How to check if a string contains more than 1 character?

I'm sorry, but I think the question is too vague. How do you define "1 character"?

Would you consider ṩ to be one character? How about ẹ̇? (Note the presence of the dot marks above and below each letter.)

According to the current Unicode Standard (v6.2), the former should be just one character, while the latter should be two characters. (Of course, both could be expressed using as many as three characters.)

  • Comment on Re: How to check if a string contains more than 1 character?