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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:58:45+00:00 2026-06-13T07:58:45+00:00

When I send a URL which contains UTF-8 characters é and ú, to name

  • 0

When I send a URL which contains UTF-8 characters é and ú, to name a few, the characters are encoded with the PHP function rawurlencode. Once I have my URL generated it is passed off to a CURL request to a Java web service which returns XML data.

Example encoding of the word Chébé is sent the web service as Ch%C3%A9b%C3%A9 which is standard form from what I can tell. I have also tried htmlentities function to convert the string to an entity, then encode the string with rawurlencode.

The item names within the example that the query it is matching against is in entity form for obvious XML reasons.

My question is the web service seems to fail with a 500 Internal error when making a request. All other strings are fine. It is only affected by UTF-8 characters. When I pass the URL within my browser in entity form like Chébé the service responds with results, but when I pass in my browser URL encoded form it fails as well. Am I missing something here?

  • 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-13T07:58:46+00:00Added an answer on June 13, 2026 at 7:58 am

    Google encodes it in the same way q=Ch%C3%A9b%C3%A9 so… it’s correct. What are you doing in the handler? Base64 encode it if all else fails assuming you control the handler service too…

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

Sidebar

Related Questions

I have a small form which contains a first name, last name and a
I have text file which contains list of lonlat points. I want to send
In python, I want to send a request to a url which will return
I am opening a file which has 100,000 URL's. I need to send an
I have a list that I need to send through a URL to a
I have a client who is wanting to create a link which contains product
I send a mp3 file download url which was taken from database and mailed
I have a default.aspx.cs which contains my webmethod to call and I have my
I have a search form which contains only one text field with submit button.
I want a html-form to open a new window (which contains 2 frames) send

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.