To be honest you can probably just drop charStart here (and probably length as well).  You'll be checking for that anyway in the parent function, so could just pass as `SizeOfUtf8Char(&str[charStart], length-charStart)`.  As you also know it's null-terminated, you don't even really need to pass length as long as the returned length is validated outside this one.