mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-22 17:46:36 +00:00
Force multibyte functions internal encoding
This commit is contained in:
parent
3908d13b4a
commit
86fc583c26
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ function validateEmail($email)
|
|||
function sendEmail( $to, $subject, $body, $headers, $param)
|
||||
{
|
||||
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
$subject = mb_encode_mimeheader( html_entity_decode( $subject, ENT_QUOTES, 'UTF-8' ), "UTF-8", "B", "\r\n", 9 ) ;
|
||||
|
||||
$encoded_app = mb_encode_mimeheader( NOMAPPLICATION, "UTF-8", "B", "\r\n", 6 ) ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue