From a9119e5eeb308413f54d0f464de1e4b425b3e525 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 25 Nov 2011 17:43:01 +0000 Subject: [PATCH] Specify utf-8 as encoding for browser notification --- notifications/inc/class.notifications_ajax.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/inc/class.notifications_ajax.inc.php b/notifications/inc/class.notifications_ajax.inc.php index d6fc0c1564..7861b2a311 100644 --- a/notifications/inc/class.notifications_ajax.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -274,7 +274,7 @@ class notifications_ajax { } $message = preg_replace('#]*>#is','',$message); - $message = 'data:text/html;base64,'.base64_encode($message); + $message = 'data:text/html;charset=utf-8;base64,'.base64_encode($message); } $this->response->addScriptCall('append_notification_message',$notification['notify_id'],$notification['notify_message'],$message); }