mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
Specify utf-8 as encoding for browser notification
This commit is contained in:
parent
fdb1771010
commit
a9119e5eeb
@ -274,7 +274,7 @@ class notifications_ajax {
|
|||||||
}
|
}
|
||||||
$message = preg_replace('#</?a[^>]*>#is','',$message);
|
$message = preg_replace('#</?a[^>]*>#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);
|
$this->response->addScriptCall('append_notification_message',$notification['notify_id'],$notification['notify_message'],$message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user