Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Are there functions to HTML encode or decode strings

Status
Not open for further replies.

hyperbug

Programmer
Aug 10, 2001
25
0
0
ES
I didn't find a function to replace strings like:

"á b é ..."

to

"á b é"

and vice versa


 
Yes. Use java.net.URLEncode or java.net.URLDecode classes. They have static functions to do just that.


 
That is not what I am asking. Those methods works for URL encoding not HTML encoding.
 
I wrote my own... I am sure you can find some samples on the net that you can reuse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top