dt3358 2018-12-12 08:20
浏览 211

将IOS表情符号转换为web或android表情符号代码

I have been looking for the solution to this issue for 3 days but still not done.

I have a website, android app and iOS app... when I use emoji from web or android app it display the emoji properly (i am using BLOB dataType) but when I submit the same form from iOS app, it display emoji on iOS app only but on web and Android app, it shows the Unicode like \ud83d\ude0d.

I just want to show emoji on all devices even form is submitted from iOS or web or android app...

  • 写回答

1条回答 默认 最新

  • douhuang5331 2018-12-12 08:33
    关注

    That's from swift documentation:

    let dollarSign = "\u{24}"        // $,  Unicode scalar U+0024
    let blackHeart = "\u{2665}" // ♥, Unicode scalar U+2665
    let sparklingHeart = "\u{1F496}" //
    评论

报告相同问题?

悬赏问题

  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用