Added charset to HTTP header output.

This commit is contained in:
Johannes Findeisen 2024-02-17 00:56:59 +01:00
commit 56199acc2f
15 changed files with 19 additions and 21 deletions

View file

@ -22,6 +22,6 @@ $_SESSION["two"] = rand(0, 9);
$challenge = $_SESSION["one"] . " + " . $_SESSION["two"];
header('Content-Type: text/plain');
header('Content-Type: text/plain; charset=utf-8');
echo($challenge);
?>