File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes unescaping a string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "unescaping a string" Watch "unescaping a string" New topic

unescaping a string

matt yahes

Joined: Jan 28, 2003
Posts: 6
How do i unescape a string. I am using IBM portal server and when i submit html through a form, the content is automatically escaped.
ie; <p>hello</p> becomes <p>hello</p>
i have looked through the api and cant seem to find a way. thanks!
matt yahes

Joined: Jan 28, 2003
Posts: 6
i realize that the two about strings look the same, but one is actually escaped, but is displayed like the other in the browser.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
What sort of "escaped" do you mean? Can you describe in words what has happened to the individual characters? Are there new \ or / of & or some other char being inserted?
[ January 28, 2003: Message edited by: Jim Yingst ]

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: unescaping a string
It's not a secret anymore!