notes on potential negative impact of utf8_decode
[plewww.git] / planetlab / sites / site.php
index eb2f291..dab93ca 100644 (file)
@@ -38,7 +38,10 @@ if (empty($sites)) {
 
 $site=$sites[0];
 // var names to api return
+// Thomas Dreibholz suggested that utf8_decode could be non-needed
+// and maybe even harmful on modern systems like f23
 $sitename= htmlentities(utf8_decode($site['name']));
+// $sitename= htmlentities($site['name']);
 $abbreviated_name= htmlentities($site['abbreviated_name']);
 $site_url= $site['url'];
 $login_base= $site['login_base'];