Same function on Torry:
http://www.swissdelphicent
Main Topics
Browse All TopicsHow to convert strings in delphi from UTF8 or other charsets to the URL standard
iso-8859-1
In JavaScript you can use the encodeURI() function. PHP has the rawurlencode() function and ASP has the Server.URLEncode() function.
what is the equivalent in delphi?
URL encoding replaces unsafe ASCII characters with "%" followed by two hexadecimal digits corresponding to the character values in the ISO-8859-1 character-set.
How to do it in delphi?
There is an online example here:
http://www.w3schools.com/T
But I need it from within Delphi 7.
Any Ideas?
THanks
Ohad
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Same function on Torry:
http://www.swissdelphicent
Well the functions is rather easy to change for you're needs and that is a lot easier than using java in a delphi application :-)
For instance if you do not want the space to be replaced by an + use the attached code.
If there are other things you miss don't like, change the code or tell what is wrong.
Business Accounts
Answer for Membership
by: MvanderKooijPosted on 2009-11-04 at 04:51:17ID: 25738752
For Delphi 2007 there is a function HTTPEncode in the HTTPApp.pas unit that uses the RFC 1738 guideline to do this