1 drupal.inc drupal_validate_utf8($text)

Checks whether a string is valid UTF-8.

Deprecated

since 1.0.0

See also

backdrop_validate_utf8()

Related topics

File

core/includes/drupal.inc, line 216
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_validate_utf8($text) {
  return backdrop_validate_utf8($text);
}