summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/libraries/SafeString.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/SafeString.php b/modules/gallery/libraries/SafeString.php
index 997abd2e..52ed48f2 100644
--- a/modules/gallery/libraries/SafeString.php
+++ b/modules/gallery/libraries/SafeString.php
@@ -31,7 +31,7 @@ class SafeString_Core {
$this->_is_safe_html = $string->_is_safe_html;
$string = $string->unescaped();
}
- $this->_raw_string = (string) $string;
+ $this->_raw_string = mb_convert_encoding((string) $string, 'UTF-8', 'UTF-7');
}
/**