aspose file tools*
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
Author

unescaping a string

matt yahes
Greenhorn

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
matt yahes
Greenhorn

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
Wanderer
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: unescaping a string