Skip to content
Snippets Groups Projects
Commit 86fc583c authored by Jean-Philippe Guérard's avatar Jean-Philippe Guérard
Browse files

Force multibyte functions internal encoding

parent 3908d13b
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment