Passing bytestring length, not utf-8 string length.