siddscool19 Posted October 18, 2008 Share Posted October 18, 2008 Hey people when I encode data using urlencode it encodes ' in this form %92 Whereas if I send data using a form it is in this format %E2%80%99 So I want to be it encoded in the below format so that my script can work So is there any other function I can use? or anything else? Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/ Share on other sites More sharing options...
jordanwb Posted October 18, 2008 Share Posted October 18, 2008 I think the browser automatically changes it. Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/#findComment-668657 Share on other sites More sharing options...
siddscool19 Posted October 18, 2008 Author Share Posted October 18, 2008 How to send latin words in a url? When I try to send them with their ascii character the script doesn't work For example é If I send in this format %E9 The script doesn't work Why Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/#findComment-668671 Share on other sites More sharing options...
wildteen88 Posted October 18, 2008 Share Posted October 18, 2008 You should use urldecode when getting data from the url that is encoded. Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/#findComment-668690 Share on other sites More sharing options...
siddscool19 Posted October 18, 2008 Author Share Posted October 18, 2008 No i don't mean that I am sending the data and in the data there is this character é and it stops my script from functioning Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/#findComment-668708 Share on other sites More sharing options...
AndyB Posted October 18, 2008 Share Posted October 18, 2008 No i don't mean that I am sending the data and in the data there is this character é and it stops my script from functioning That's ambiguous. Perhaps some punctuation would help. Posting the actual problem you are experiencing, and providing contextual information might clarify just what your problems are, instead of expecting respondents to solve it through the fog of your descriptions and unhelpful examples. Quote Link to comment https://forums.phpfreaks.com/topic/128950-need-help-with-a-problem-d/#findComment-668864 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.