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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unicode from db to text area?

Status
Not open for further replies.

guineamation

Programmer
Jan 29, 2002
58
IL
when i open a recordSet and insert the data into a text area in a form on a web page, i get the actual unicode characters ó instead of the special character it represent.

how can i show the decoded text on the text area?
 
I suppose you have encoded with Server.HTMLencode before writing to the DB?

Try using the unescape function:
Code:
response.write unescape(rs("yourfield"))

[blue]An eye for an eye only ends up making the whole world blind. - "Mahatma" Mohandas K. Gandhi[/blue]
 
Hi, well... it turns out that i had a problem with just some of the records, most of the records turn out just fine without using the unescape.
but i needed it anyways so thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top