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

  • Home
  • SEARCH
  • 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 7722677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:14:40+00:00 2026-06-01T04:14:40+00:00

I got below JSON string, i facing issue parsing because it contains non english

  • 0

I got below JSON string, i facing issue parsing because it contains non english local:

{“error”:0,”token”:”59188a107d705f8c51585d719769e0642ce98b79d86fdace30dbc58efba301cc”,”status”:”200″,”messages”:[{“update_time”:”2012-03-31
22:50:13″,”seq”:”497″,”lng”:58.4235,”msg”:“hhhh : ≈∏?≈∏?
√ø‚Ñ¢√ø‚Ñ¢√ø√ü≈∏?√ø‚Ñ¢ “
,”lat”:23.5866}],”error_msg”:””}

i’m trying with below code:

NSError* error;
    NSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseData //1
                                                         options:kNilOptions 
                                                           error:&error];

it works fine if it’s in English only, how could I parse non english local in JSON.

  • 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-01T04:14:41+00:00Added an answer on June 1, 2026 at 4:14 am

    From the docs:

    The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. The data may or may not have a BOM. The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8.

    Since your string does not appear correctly in Safari, I suspect that it is not encoded in one of these formats. You would need to re-encode your data into a legal JSON encoding.

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

Sidebar

Related Questions

I have got below string values in a variable. var mystring = '{img_src:/english/images/spa.jpg, img_title:Enjoy
I have got below JSON response from my ASPX page back to my client
I have written a PHP script below try to Post the JSON encoded string
My Silverlight application ViewModel has many Json parsing dependencies on to System.Json.dll. I got
Hi iv got this error on my ajax function using json on retrieving data.
I have got below given XML output: <?xml version=1.0?> <navigation path=/english> <resources> <Copyright>© 2009
I am using HTML and Jquery I have got below issue, I have an
I got below mentioned code for adding my application to Windows Firewall Exception list.
I got below code from http://msdn.microsoft.com/en-us/library/dd584174(office.11).aspx for adding custom property in webpart tool pane.
I got below code in my Word Document (office 2007) to send a mail

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.