Remove � charcter from the text : I am trying to remove � symbol from text, but my method is not working .

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/6dSHZ.jpg
This my code to remove the symbol.


        public static function cleanText($text)
        {
    
    
    // Strip HTML Tags
            $textStripped = strip_tags($text);
    // Clean up things like &amp;
             $textStripped = html_entity_decode($textStripped);
    // Strip out any url-encoded stuff
            $textStripped = urldecode($textStripped);
    
            return $textStripped;
    
    
        }
    
The page encoding is utf-8.

