Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6387091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:06:32+00:00 2026-05-25T03:06:32+00:00

I have a UITextView which I call messageField . The data within that messageField

  • 0

I have a UITextView which I call messageField. The data within that messageField is POST-ed to server in JSON format. When the user types an Emoji character I am having trouble encoding the data to JSON. I am thinking Emoji uses Unicode encoding.

Is there a way to encode an Emoji character to JSON? And back from JSON to Emoji to display in a UILabel?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:06:33+00:00Added an answer on May 25, 2026 at 3:06 am

    Edit – 2016-03-03 Please note, this answer was written in 2011 and may no longer be relevant any more.

    Emoji characters are just a specific font used to render specific unicode code points. iOS uses one of the Unicode Private Use Areas for Emoji-specific code points. The only way to view these “characters” as Emoji is to have an Emoji font available as well as a machine that knows how to switch from the default text font (such as Helvetica) to the emoji font.

    I don’t know how you’re encoding your JSON but since Emoji are just text there shouldn’t be any problems as long as you transport the text in a Unicode-friendly format such as UTF-8 or UTF-16. You won’t see it on the server-side or in the database (unless you view the data with the previous prerequisites) but you should be able to send the same raw bytes back and it should look the same.

    Here’s some posts that might help a little more:

    • The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
    • Questions about iPhone emoji and web pages
    • iPhone Emoji
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an UITextView which takes data from XML. Now that XML node is
I have one UITextView which is on the bottom of view. When user tap
I have a UITextView that I'm trying to keep hidden from the user, except
I have implemented a custom UITableViewCell which includes a UITextView that auto-resizes as the
I have a UITextView in which i have 5 hyperlinks and 5 phone numbers.How
I have HTML Content which was being displayed in a UITextView . The next
I have a XIB file with a UITextView, which I'm associating with a UITextView*
I have a UITextView that has a lot of content. I have a button
I have some text in a UITextView, that I would like to have show
I have n number of UITextview and that are added to UIScrollview.and uiscrollview is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.