2 calls to drupal_validate_utf8()

file_destination in includes/file.inc
Determines the destination path for a file.
filter_xss in includes/common.inc
Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.