Utf8 convert

This commit is contained in:
2023-01-10 18:29:32 +02:00
parent 71b759232c
commit 90b9c8325e
3572 changed files with 35191 additions and 395614 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
<?php
/** Îòïðàâêà ïî÷òû */
/** Отправка почты */
function mails($to, $message, $subject = 'Áîéöîâñêèé êëóá')
function mails($to, $message, $subject = 'Бойцовский клуб')
{
require '_incl_data/class/mail/class.phpmailer.php';
$message = mb_convert_encoding($message, 'UTF-8', 'CP1251');
@@ -18,7 +18,7 @@ function mails($to, $message, $subject = '
$mail->CharSet = 'UTF-8';
$mail->From = 'newcombats@yahoo.com';
$mail->FromName = mb_convert_encoding('Áîéöîâñêèé Êëóá', 'UTF-8', 'CP1251');
$mail->FromName = mb_convert_encoding('Бойцовский Клуб', 'UTF-8', 'CP1251');
$mail->AddAddress($to); // Add a recipient
$mail->IsHTML(true); // Set email format to HTML