harishsc
asked on
Special characters in request.form
Hi Guys,
Whenever I have a problem I can think of only this forum.
The problem that I have here is somthing to do with the special characters, I have an asp page posting an XML file stored as a string in a textbox object, and I do request.form("txtbox") in another asp page to retrieve the value posted from that page, the XML file which is a string in the textbox has some special charactered words(for example portugese words like Acessórios, here "o" has an accent mark ), request.form("txtbox") gives me such words with junk chars meaning, "Acessórios" is shown as "Acess&165rios" etc, I have tried htmlencode,urlencode and other stuff, but to no avail, can somebody suggest me something here please.
Thanks
Harish
Whenever I have a problem I can think of only this forum.
The problem that I have here is somthing to do with the special characters, I have an asp page posting an XML file stored as a string in a textbox object, and I do request.form("txtbox") in another asp page to retrieve the value posted from that page, the XML file which is a string in the textbox has some special charactered words(for example portugese words like Acessórios, here "o" has an accent mark ), request.form("txtbox") gives me such words with junk chars meaning, "Acessórios" is shown as "Acess&165rios" etc, I have tried htmlencode,urlencode and other stuff, but to no avail, can somebody suggest me something here please.
Thanks
Harish
ASKER
Thanks, I tried changing the charset but did not work, but whatz this LCID, how do I do that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And to check the idea out, I recommend this:
Create a page with a simple form (action = same page), with a text box and a submit button. Type somthing with those special chars in the text field, and submit, then see how it appears in the querysting above there in the address bar.. tell me how it is.
Huji
Create a page with a simple form (action = same page), with a text box and a submit button. Type somthing with those special chars in the text field, and submit, then see how it appears in the querysting above there in the address bar.. tell me how it is.
Huji
If that's too brief, or you can't understand it, let me know, and I'll give you the details.
Wish I can help
Huji
PS:We solved another question here, about Arabic characters (awfully harder than your case in one point of view ;o) ) and it worked. Try by starting with changint the charset to UTF-8 and the LCID to the appropriate..