How can I calculate the length of a string in bytes when the string can
contain any characters that are legal in HTML? Will this work (from
php.net):
$length = strlen(utf8_decode($s))
I'm guess I'm just confused about multi-byte characters vs. single byte
ones. Thanks in advance.