From 355679fa55bfa21e8475f52fb26efa0ff2a1bf0d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 16 May 2012 12:01:41 -0700 Subject: 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. --- modules/gallery/libraries/SafeString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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; } /** -- cgit v1.2.3