From 4312c485d16fb7b4afbca901b1756205ecf7740e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 28 Nov 2011 16:15:21 +0000 Subject: [PATCH] Use system charset for systems that aren't UTF-8 --- 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 7861b2a311..e8f1b2ea7f 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;charset=utf-8;base64,'.base64_encode($message); + $message = 'data:text/html;charset=' . translation::charset() .';base64,'.base64_encode($message); } $this->response->addScriptCall('append_notification_message',$notification['notify_id'],$notification['notify_message'],$message); }