aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 16:14:17 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 16:14:17 +0000
commita8d4042f8268212104a094f1a1fd229fc219818b (patch)
tree206e92f56c3cb8a4a9bb429ec701aeb5d4db2e4c /mod
parentb8870eaa1b40de4862745728097ca942e6070946 (diff)
downloadelgg-a8d4042f8268212104a094f1a1fd229fc219818b.tar.gz
elgg-a8d4042f8268212104a094f1a1fd229fc219818b.tar.bz2
Remaining htmlentities calls converted to utf-8
git-svn-id: https://code.elgg.org/elgg/trunk@1805 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/guidtool/views/default/forms/guidtool/export.php2
-rw-r--r--mod/profile/views/default/profile/icon.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/guidtool/views/default/forms/guidtool/export.php b/mod/guidtool/views/default/forms/guidtool/export.php
index cb92991a2..6825984dc 100644
--- a/mod/guidtool/views/default/forms/guidtool/export.php
+++ b/mod/guidtool/views/default/forms/guidtool/export.php
@@ -19,5 +19,5 @@
?>
<div id="export">
-<?php echo elgg_view('output/longtext', array('value' => htmlentities(file_get_contents($CONFIG->url . "export/$format/$entity_guid/")))) ?>
+<?php echo elgg_view('output/longtext', array('value' => htmlentities(file_get_contents($CONFIG->url . "export/$format/$entity_guid/"), null, 'UTF-8'))) ?>
</div> \ No newline at end of file
diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php
index 25597101c..8424f4c3f 100644
--- a/mod/profile/views/default/profile/icon.php
+++ b/mod/profile/views/default/profile/icon.php
@@ -19,7 +19,7 @@
if ($vars['entity'] instanceof ElggUser) {
- $name = htmlentities($vars['entity']->name);
+ $name = htmlentities($vars['entity']->name, null, 'UTF-8');
$username = $vars['entity']->username;
if ($icontime = $vars['entity']->icontime) {