PHPUnit_Util_String::convertToUtf8

Converts a string to UTF-8 encoding.