'"', "\xC2\xBB" => '"', "\xE2\x80\x98" => "'", "\xE2\x80\x99" => "'", "\xE2\x80\x9A" => "'", "\xE2\x80\x9B" => "'", "\xE2\x80\x9C" => '"', "\xE2\x80\x9D" => '"', "\xE2\x80\x9E" => '"', "\xE2\x80\x9F" => '"', "\xE2\x80\xB9" => "'", "\xE2\x80\xBA" => "'", "\xe2\x80\x93" => "-", "\xc2\xb0" => "°", "\xc2\xba" => "°", "\xc3\xb1" => "ñ", "\x96" => "ñ", "\xe2\x81\x83" => '•', "\xd5" => "'" ); $string = strtr($string, $quotes); /* // Use the below to get the byte of the special char and put it in the array above + the replacement. if (strpos($string, "Live Wave Buoy Data") !== false) { for ($i=strpos($string, "Live Wave Buoy Data") ; $i