https://www.php.net/manual/en/function.utf8-decode.php
Similar functionality can be achieved with mb_convert_encoding(), which supports ISO-8859-1 and many other character encodings.
Haven't looked into the details but we heavily rely on mbstring functionality anyway - we can probably port to it safely.