N
Nelson R.
Hi,
im using a form to get some input from the user. This form is in a
HTML file.
When I post the form directly to my email, i receive all fields
correctly. Example test.html:
<FORM action="MAILTO:[email protected]" method=post
enctype="text/plain">
But if I post the form to an aspx page and try to read the fields
value, i get the wrong encoding content. Example
test.html:
<FORM action="test.aspx" method=post>
test.aspx
for(int i=0 ; i<Request.Form.Count; i++)
Response.Write(Request.Form.Keys+"="+Request.Form);
This will print all fields and values, but without any portuguese
characters.
So, anyone knows were i must define the encoding to solve this
problem? ive tried putting in metatag in test.html page, tried putting
in page directive in test.aspx page. Nothing works.
Wich encoding is responsible form Request.Form values?
Thanks,
Nelson R.
im using a form to get some input from the user. This form is in a
HTML file.
When I post the form directly to my email, i receive all fields
correctly. Example test.html:
<FORM action="MAILTO:[email protected]" method=post
enctype="text/plain">
But if I post the form to an aspx page and try to read the fields
value, i get the wrong encoding content. Example
test.html:
<FORM action="test.aspx" method=post>
test.aspx
for(int i=0 ; i<Request.Form.Count; i++)
Response.Write(Request.Form.Keys+"="+Request.Form);
This will print all fields and values, but without any portuguese
characters.
So, anyone knows were i must define the encoding to solve this
problem? ive tried putting in metatag in test.html page, tried putting
in page directive in test.aspx page. Nothing works.
Wich encoding is responsible form Request.Form values?
Thanks,
Nelson R.