summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/SafeString.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-05-16 12:01:41 -0700
committerBharat Mediratta <bharat@menalto.com>2012-05-16 12:01:41 -0700
commit355679fa55bfa21e8475f52fb26efa0ff2a1bf0d (patch)
tree4f81b9f4995227b32e7c53ce273366d0ade46282 /modules/gallery/libraries/SafeString.php
parent0a8325bae872cc311a4563a32b4b012fd81374b7 (diff)
Revert "Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)"
This will break many legal UTF-8 strings. This reverts commit 1c5c2e7de42f9e59932c81fb26c8416b2fef3fda.
Diffstat (limited to 'modules/gallery/libraries/SafeString.php')
-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 52ed48f2..997abd2e 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 = mb_convert_encoding((string) $string, 'UTF-8', 'UTF-7');
+ $this->_raw_string = (string) $string;
}
/**