nothing :(
I hope this will help, try the following:
Change the following In the file pipe.php (the file is located inside the api directory)
Find the line $subj=utf8_encode($parser->getSubject());
and replace it with $subj=mb_convert_encoding($parser->getSubject(), "UTF-8", mb_detect_encoding($parser->getSubject(), "UTF-8, ISO-8859-5, ISO-8859-1", true));
Find the line $var=$name?utf8_encode($name):$var;
and replace it with $var=$name?mb_convert_encoding($name, "UTF-8", mb_detect_encoding($name, "UTF-8, ISO-8859-5, ISO-8859-1", true)):$var;
Find the line $var=utf8_encode(Format:($body));
and replace it with $var=mb_convert_encoding(Format:($body), "UTF-8", mb_detect_encoding(Format:($body), "UTF-8, ISO-8859-5, ISO-8859-1", true));
I assume you are using the charset ISO-8859-5 for russian characters.
Next, open the file mime.php which is located in the include/pear/Mail directory
Find 'html_charset' => 'ISO-8859-1',
and replace it with 'html_charset' => 'UTF-8',
Find 'text_charset' => 'ISO-8859-1',
and replace it with 'text_charset' => 'UTF-8',
Find 'head_charset' => 'ISO-8859-1'
and replace it with 'head_charset' => 'UTF-8'
In case it's difficult to do the changes, I have attached the modified files for the latest stable osTicket version 1.6, if you are using the same version you can replace the two files you have, with the ones I included in the attached zip file.
Let me know if your issue is solved.
[files.zip](https://forum.osticket.com/assets/files/migrated/e/4c1db64101fdd13fb436f1dd7c729c2.zip)