How do I get the number of visible characters from a UTF-8 encoded char*?

Posted by Bill on Stack Overflow See other posts from Stack Overflow or by Bill
Published on 2010-06-07T20:08:53Z Indexed on 2010/06/07 20:12 UTC
Read the original article Hit count: 185

Filed under:
|

I have a UTF-8 encoded char*.

Is there a standard function to calculate the number of visible characters represented by the byte array?

I'm on Red Hat (RHEL 5).

© Stack Overflow or respective owner

Related posts about c++

Related posts about utf-8