replace mb_strlen to drupal_strlen