Convert a string to UTF-8 based on configuration.
public static convertToUTF8 ( string $str, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string | ||
$str | string | The string to convert |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context | |
return | string |