Hope this interests you.
I am creating an html report for the data from DB.
I wrap the data along with html to get the format.
But, what I need to make sure is that the data that
comes from db is intact like spaces,<,> etc...
So, I want to first encode the data from the DB to make it
html safe, like converting spaces into   etc...
But I dont have a built-in function for this. So,
I need to write the program. Can anybody provide the
logic for the same.(like what char are to be
turned to what chars)
Thanks in Advance.
PS:- If any body knows the equivalent function that is
available in oracle, please advise.