I am looking to replace
mb_convert_encoding($string, 'utf-8', 'HTML-ENTITIES');
with something else, because I do not have the mb module installed and cannot install it. Is there anything? I tried utf8_decode($string), but that didn't work.
This is different from the question listed, because it tries to do the reverse.
I want to take a string, for example, with ä in UTF8 and convert it into ä or its HTML entity as &#num;