A
A
Alexander Arbuzov2016-01-21 18:29:30
PHP
Alexander Arbuzov, 2016-01-21 18:29:30

How to set the Cyrillic alphabet in the name of the file sent by mail?

I send mail via PHPMailer ( link )
I attach a file to the created object which is named in Cyrillic. So his name is stubbornly distorted. How to fix? The file is created in the file system with a normal Cyrillic name. But it is attached with krakozyabry:
СпоÑÑов.xls

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
digital_fox, 2017-12-14
@digital_fox

Use this construct
The second parameter is how the file will be displayed in the letter. helped me

D
Dimonchik, 2016-01-21
@dimonchik2013

nothing at all -
but you can try transliteration

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question