Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

Codeigniter Email Attachment name not support Unicode?

$
0
0
Hi, I tried sending an attachment containing Unicode characters, and the attachment was  sent successfully. But the Unicode characters were removed from the file name. For example, if I send an attachment named "你好.jpg", then the receiver will receive the file but it's named ".jpg" (unicode characters are removed). I want to keep the original attachment name, is there any solution? Thank you very much!

Code:
$this->email->attach("path/to/你好.jpg"); //attachment name contains Unicode characters

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>