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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:01:43+00:00 2026-06-14T12:01:43+00:00

I want send a josn string to a php sript on a webserver. i

  • 0

I want send a josn string to a php sript on a webserver.

i use this code:

JSONObject json = new JSONObject();
json.put("street", "straße");

json put exactly this to the string, but the php script does not needs straße, it needs stra\u00dfe

is there any way to do this exept String.replace()

maybe this helps for a other solution, the php script deletes the ß in the string

  • 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-14T12:01:45+00:00Added an answer on June 14, 2026 at 12:01 pm

    You can’t send characters to servers, you can only send bytes. You need to figure out where your JSON string is being converted to a byte array and make sure that it includes a charset like UTF-8.

    The JSON encoder won’t convert ß to \u00df because that’s not its job. As far as it is concerned, ß is a legal output character.

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

Sidebar

Related Questions

Hello Sir i want send list of data to php server i use following
I want send schedule mails using my php website, I don't want to use
I want to send a few variables and a string with the POST method
I have a json string in an action of MVC controller. I want to
I new on MVC. I want to send values between view's and don't know
I have found this little script in PHP that send a simple request to
I want to send my JSON object from Javscript to Struts2 Action. Sample JSON
I generate a JSON files in my PHP code (by running a database query).
I'm new in iPhone and I'm trying to convert NSMutable array to json string
I want to send a certain string on my serial port and read the

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.