SELECT
  LENGTH(document),
  CONVERT((document) USING utf8)
FROM `mytable`
LIMIT 50