Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Go UTF-8

  • Loading branch information...
commit 96b13c68b67ea893b81c826b79a442d87c4d7255 1 parent 625e96f
@bergie authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  index.php
View
3  index.php
@@ -5,9 +5,10 @@
$data = array();
$data['from'] = $_GET['urlize'];
$data['to'] = midgardmvc_helper_urlize::string($_GET['urlize']);
- header('Content-type: application/json');
+ header('Content-type: application/json; charset=utf-8');
die(json_encode($data));
}
+header('Content-Type: text/html; charset=utf-8');
?>
<h1>Urlizer service</h1>
<form method="GET">
Please sign in to comment.
Something went wrong with that request. Please try again.