[英]Emoji in email subject line
Recently I have received newsletters with emojis in the subject line..最近,我收到了主题行带有表情符号的时事通讯。
I have copy/pasted a subject from the source of a newsletter我已从时事通讯的来源复制/粘贴了一个主题
Subject: =?utf-8?Q?=F0=9F=94=A5=C2=A06=20days=20left=20until=20we=20meet=20you=20at=20TechBBQ=C2=A0=F0=9F=94=A5?=
I use phpmailer to send emails.. How is it possible to reuse the same icons when sending messages?我使用 phpmailer 发送电子邮件。如何在发送消息时重复使用相同的图标?
$subject = "\xF0\x9F\x94\xA5 test \xF0\x9F\x94\xA5";
This will put a fire emoji like the above in the beginning and the end of the string when sending with phpmailer.当使用 phpmailer 发送时,这将在字符串的开头和结尾放置一个像上面一样的火表情符号。 Rememeber to set the encoding in the mail to UTF-8
记得把邮件中的编码设置为UTF-8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.