You are reading a single comment by @JeonLab and its replies. Click here to read the full conversation.
  • @Gordon, I did some test. After doing your suggested tests above, I sent an email to my gmail with the same title and message in your test pushMessage in the post #21, which is 'Hello World' in Korean, '안녕하세요 세상.' And then I compared the unicode between your test message and received notification sent from my iPhone. Below is the message log after I received the notification.

    {"event":"add","uid":5,"category":0,"categoryCnt":5,"silent":false,"important":false,"preExisting":false,"positive":false,"negative":true,"appId":"com.google.Gmail","title":"Jeon, Jinseok","subtitle":"\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081","message":"\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081","messageSize":"22","date":"20240318T211844","posAction":"","negAction":"Clear","new":true}

    So, the title (and the message) should be '\uc548\ub155\ud558\uc138\uc694\u0020\uc138\uc0c1' but iPhone sends '\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081' instead.

    I checked the unicode for the message '안녕하세요 세상' from the website, https://koreanstudies.com/unicode-converter.html and the unicode in your test code was correct.

    So, the apps iOS Integration and/or Message UI seem to interpret the unicode incorrectly at least for Korean.

About

Avatar for JeonLab @JeonLab started