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 8663549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:00:48+00:00 2026-06-12T17:00:48+00:00

I have been going head over heels to solve this. I have a json

  • 0

I have been going head over heels to solve this. I have a json feed that returns UTF based data

For example:

{“statusCode”:200,”body”:[{“wall_id”:889370,”posted_by”:”nicol”,”poster_id”:1113,”poster_image_thumbnail”:”http://www.mface.me/images/avatar/thumb_f713034d70bcd5e4d68b5ed5.jpg”,”post_type”:”profile”,”post_content”:[{“text”:”咯. …. etc

I can successfully read this into a json object, but when i display the value from “text” all i get are question marks, It’s the same when i print to the console.

The same feed works for my iPhone app without any issues.

Any suggestions are highly appreciated

Edit:

I can safely say that the phone i am testing with is running Ginger bread and has no issues displaying UTF-8 characters. It must be how async http is reading the UTF characters. I am not sure how to solve this.

  • 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-06-12T17:00:49+00:00Added an answer on June 12, 2026 at 5:00 pm

    Thanks for the responses, i think i have figured it out. well, atleast that’s what i think. Text seems to show properly in UTF.

    For other friends who would like to know the answer, this is what i did

    tmpPostContent.text=new String(postContentRecord.getString("text").getBytes("UTF-8"), "UTF-8");
    

    I am not sure if this indeed the right solution, but seems to work. Please correct me if i am wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I have been beating my head over this one for some time now,
I've been going over this in my head and trying out different approaches for
Been scratching my head for a day over this one. I have a few
I have been asked to write an application that is going to act as
I've been going around in circles for hours with this. I have a UserProfile
I have a question that may have been answered over 9000 times before but
I have been banging my head trying to figure out what is going wrong.
I have been going through the book Learning WCF trying to get my head
I have been going over some books and some articles to refresh my memory
I've been beating myself over the head with this app migration for a few

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.