am 90577af7: Merge "use utf8_length() instead of local function, isValidUtf8()"

* commit '90577af796cd526f842d6f07c2d95ed4fcc2f6d8':
  use utf8_length() instead of local function, isValidUtf8()