How can special characters like =FC in a string be converted to their proper representation, such as ü in PHP?

Special characters like =FC in a string can be converted to their proper representation, such as ü in PHP by using the utf8_decode function. This function decodes a UTF-8 encoded string to ISO-8859-1. By applying utf8_decode to the string containing special characters, they will be converted to their proper representation.

$string_with_special_chars = '=FC'; // String containing special characters
$converted_string = utf8_decode($string_with_special_chars); // Convert special characters to proper representation
echo $converted_string; // Output: ü