I try to display the contents of a php file in a textarea with
<textarea ...>
<?php echo file_get_contents("file.php"); ?>
</textarea>
but it converts the html entities like ö
to ö. As it is php code I can not use a conversion like htmlspecialchars because it would brick the <> and quotes etc.
EDIT:
I checked the sourcecode with the browser and there is really an ö.
Please help, thank you!