From a8d1dd3e4cefb02a68d3e3f317933901131c9cdc Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 1 Oct 2009 12:08:40 -0600 Subject: [PATCH] This is required to be UTF-8 since JSON data is always UTF-8 --- imp/lib/Mime/Viewer/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/Html.php b/imp/lib/Mime/Viewer/Html.php index bd5e4e05a..f9338155b 100644 --- a/imp/lib/Mime/Viewer/Html.php +++ b/imp/lib/Mime/Viewer/Html.php @@ -120,7 +120,7 @@ class IMP_Horde_Mime_Viewer_Html extends Horde_Mime_Viewer_Html $data['js'] = array('IMP.iframeInject("' . $uid . '", ' . Horde_Serialize::serialize($data['data'], Horde_Serialize::JSON, $this->_mimepart->getCharset()) . ')'); $data['data'] = '' . Horde_Util::bufferOutput(array('Horde', 'addScriptFile'), 'imp.js', 'imp', true); - $data['type'] = 'text/html; charset=' . Horde_Nls::getCharset(); + $data['type'] = 'text/html; charset=UTF-8'; return array( $this->_mimepart->getMimeId() => $data -- 2.11.0