I have trouble finding a solution for the following problem:
I have a lot of special characters on the website that when I run them through htmlentities();
you get all the special characters converted to HTML entities:
£ => £
" => "
 => Â
....
But what I actually need is the Decimal version of that encoding:
£ => £
" => "
 of(Â) => À
=>  
Is there a function that already exists that would solve this issue without doing this manually with a replace?
Something like the following?