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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:28:17+00:00 2026-06-13T21:28:17+00:00

hi am doing a json parsing in this i want to post some data

  • 0

hi am doing a json parsing in this i want to post some data if use Danish character(æøåÆØÅ*) the data s is not been uploaded to the server.i need to know how post this data to server and also how do i get the posted special character to my app .please help thank you

  • 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-13T21:28:19+00:00Added an answer on June 13, 2026 at 9:28 pm

    At last i sorted out the answer use UTF-8 Encoding and decoding for solving this issue

    encode the value when passing it to a server and decode that when we need to display it from server to our app

    URLENCODING-pass value to server

    String value="å";//This is a special character
    try {
            value=URLEncoder.encode(value, "UTF8");
            System.out.println("value------"+value);
        } catch (UnsupportedEncodingException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    

    The out put will be value——%C3%A5

    we can pass this value to server.

    now that we have pass the values to server and if we need to show it in some places in our app we need to decode the value from server and we will get the result data like this

    String value="%C3%A5";
        try {
            value=URLDecoder.decode(value, "UTF8");
            System.out.println("value------"+value);
        } catch (UnsupportedEncodingException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    

    The out put will be value——å

    This is how we pass danish or any other special charaters to server by parsing

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

Sidebar

Related Questions

I am doing some json parsing in a bash script: curl http://myurl.com/get.json | sed
I'm parsing JSON and getting an array of objects with javascript. I've been doing
i m doing json parsing and i getting response for data like date:1330387200 so
i am doing JSON parsing for particular web service with different IDs,Parsing returns some
i am doing jSon parsing in C# (ASP).The problem is that when the JSON
what I am doing is creating a form using JSON this form can then
I do not know what I am doing when it comes to JSON. So
I'm doing a jquery post to an MVC action. The action returns a json
Possible Duplicate: Converting XML to JSON using Python? I'm doing some work on App
I am trying to parse the following JSON string remotely: [{name:Object1,data:[1,2]},{name:Object2,data:[3,4]}] I am doing

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.