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); }