There's still confusion as to what you mean by visual length. Are you talking about the width of the characters in pixels? That will vary by font and device.
Update: Oops, you seem to have found what you wanted in a post I somehow missed.
In reply to Re: The “real length" of UTF8 strings
by ikegami
in thread The “real length" of UTF8 strings
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |