Solution to emoji expression box under iOS5.1

Source: Internet
Author: User

On some devices in iOS5.1, emoji expression is not normal.display. I tested it, iOS5.1 (9b176 for IPhone 4) does not display emoji properly, all boxes
iOS5.1 (9b179 for IPhone 4S) above can display emoji normally.


The reason is that iOS4 above the emoji with the SoftBank code, to IOS5, emoji was put into the Unicode6.0, resulting in the original old code may have some incompatibility phenomenon.


The solution is also very simple, in the iOS5 above all with the new code, in IOS4 and below all with old code.

Because some iOS5.1 can display normally, some do not. According to our test situation, 5.x all with the new code, 4.x and below all with old code is no problem


Encoding conversion See Apple's own conversion table: Http://opensource.apple.com/source/ICU/ICU-461.13/icuSources/data/translit/Any_SoftbankSMS.txt


The left side is the new Unicode code, the right is the old code of SoftBank, please convert yourself


For a detailed picture of emoji please see this http://code.iamcal.com/php/emoji/
Apple Official conversion Form Http://opensource.apple.com/source/ICU/ICU-461.13/icuSources/data/translit/Any_SoftbankSMS.txt Emojiarray = [[Nsarray alloc] initwithobjects: @ "\u0001f61a" @ "\u0001f6 0C "@" \u0001f604 "@" \u263a ", the code can be written directly

Transferred from: http://www.cnblogs.com/chen1987lei/archive/2012/05/28/2521086.html

Solution to emoji expression box under iOS5.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.