Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 php-to-sms 通知系统,并希望在我的消息中包含表情符号。当我将消息发送到我的电子邮件帐户时,Unicoide 可以工作,但在 iPhone 5 上我只看到代码。这是我尝试的最后一条消息:
$email_body = "TRY EMOJI: U+1F6A9 - \xF0\x9F\x9A\xA9 - 0xD83D 0xDE0B - 🕤"
但是看不到EMOJI...
我不太了解php,但尝试以这种方式发送
$email_body = "\U0001F6A9"
在 iOS 中,这将显示表情符号:
NSString *pString = @"\U0001F6A9";