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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:43:57+00:00 2026-05-28T13:43:57+00:00

I got a valid Json string(at least every onlinevalidator I tried says so) which

  • 0

I got a valid Json string(at least every onlinevalidator I tried says so) which contains some chinese characters.

The json string is the following:

{“title”:”\u8981\u805e–\u83ef\u723e\u8857\u65e5\u5831″,”url”:”http://cn.wsj.com”,”desc”:”\u300a\u83ef\u723e\u8857\u65e5\u5831\u300b\u4e2d\u6587\u7db2\u7d61\u7248\u6700\u65b0\u8ca1\u7d93\u8981\u805e”,”imageUrl”:null,”lastUpdate”:”1327588937″,”items”:[{“title”:”\u4e16\u8cbf\u7d44\u7e54\u7e3d\u5e79\u4e8b\ufe55\u4eba\u6c11\u5e63\u5e63\u503c\u88ab\u4f4e\u4f30\ufe50\u4f46\u4f4e\u4f30\u7a0b\u5ea6\u4e0d\u660e”,”desc”:”\u4e16\u754c\u8cbf\u6613\u7d44\u7e54\u7e3d\u5e79\u4e8b\u5e15\u65af\u5361\u723e\uff0e\u62c9\u7c73\u9031\u56db\u8868\u793a\ufe50\u4eba\u6c11\u5e63\u532f\u7387\u88ab\u660e\u986f\u4f4e\u4f30\ufe50\u4f46\u4f4e\u4f30\u7a0b\u5ea6\u9084\u4e0d\u6e05\u695a\u3002″,”url”:”http://cn.wsj.com/big5/20120126/BCHc-20120126WR182711424.asp?source=rss”,”pubdate”:null}]}

Now when i Parse the JsonString in Android via new JsonObject(jsonString) I only got some squares instead of characters.

Why cant android handle this json string?

Any help would be apreciated.

If anyone would like to have the server Ressource, it can be found under:

// edit
url removed

  • 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-28T13:43:57+00:00Added an answer on May 28, 2026 at 1:43 pm
    public static String test(){
        String testResult= "";
        try {
            HttpGet get = new HttpGet("http://xxxxx");//edit url removed.
            DefaultHttpClient httpclient = new DefaultHttpClient();
            HttpResponse response = httpclient.execute(get);
            String result = EntityUtils.toString(response.getEntity());
            JSONObject obj = new JSONObject(result);
            if(!obj.isNull("title")){
                testResult= obj.getString("title");
                Log.d("Test","Test1:"+ testResult);
            }
        } catch (JSONException e) {
            e.printStackTrace();
        } catch (ClientProtocolException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return testResult;//
    }
    

    and Then TextView.setText(testResult);
    It works for me.

    it’s Traditional Chinese String:”要聞–華爾街日報”
    May be your ROM has no Traditional Chinese font????

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

Sidebar

Related Questions

I've got following regex which seems to be a valid regex according to regex
I've got some code that looks like this: valid = set() for string in
I have got some code to load an assembly and get all types, which
I'm having some trouble getting JSON to store some Javascript as a string value.
I got the following Tables with valid relations as shown below: Report ------>ReprotDataSource --------->SharePointDomain
I've got this code which checks if an url is a valid url. Right
I've got some jQuery (1.6.2, latest stable) code which is working in Chrome, Firefox,
I've got a jQuery AJAX code, which recieves JSON-type data from php file. Wihout
I've got some XML (valid XHTML) that looks like this: <html> <head> <script type=text/javascript>
Got a bit of a mind freeze at the moment. I have the following

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.