Uploaded image for project: 'Weex (Retired)'
  1. Weex (Retired)
  2. WEEX-600

文本末尾的Emoji符号在Android端显示乱码

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None

      Description

      使用如下代码,在Android端无法显示末尾的'\ud83c\udf3b':

       

      <text>{'\u7cbe\u9009\u603b\u611f\u89c9\ud83c\udf3b'}</text>

       

      但是,当在上述文本后边加上其他文本时,Emoji符号可以正常显示:

       

      <text>{'\u7cbe\u9009\u603b\u611f\u89c9\ud83c\udf3b SUN'}</text>

       

      经过调试,发现末尾的'\ud83c\udf3b'被截断,在Java Native端仅收到'\u7cbe\u9009\u603b\u611f\u89c9\ud83c'。

        Attachments

          Activity

            People

            • Assignee:
              kyork York Shen
              Reporter:
              jxhc2005@yeah.net Sean Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: