- Properly calculate caption length when converting multi-byte string