1 drupal.inc drupal_convert_to_utf8($data, $encoding)

Converts data to UTF-8.

Deprecated

since 1.0.0

See also

backdrop_convert_to_utf8()

Related topics

File

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

Code

function drupal_convert_to_utf8($data, $encoding) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_convert_to_utf8($data, $encoding);
}