XmbLookupString and Xutf8LookupString return the length of the string in bytes, and XwcLookupString returns the length of the string in characters.
XmbLookupString and Xutf8LookupString return the length of the string in bytes, and XwcLookupString returns the length of the string in characters.