Fix of_unicode_string_length() and actually use it.