U
UIVE
Hey there.
I have an .aspx page, where i have a pretty simple form on it. 2 text
input fields and a submit button. The action of the page is then
submitted to a different site which then handles the display of
results.
The receiving site has explicitly said, it needs the form values in
unicode encoding.
But when I submit my form, the special danish characters are encoded
wrong.
When I take the HTML of the form, save it (also in visual studio, same
project) as a plain html page, runs it, and submits the form,
everything is ok.
Why this difference in encoding between aspx page and html page?
What can I do to correct it in my aspx page, so it'll work?
I've tried saving the aspx file in unicode format.... no luck
I've tried adding the CodePage attribute to the page directive and set
it to unicode.... no luck
I've changed the meta tag in the html of the aspx page... no luck
Any help or suggestions would be appreciated, and if i've failed to
explain myself properly, then say so, and I'll try to explain it
further.
Regards
Uffe Iversen
I have an .aspx page, where i have a pretty simple form on it. 2 text
input fields and a submit button. The action of the page is then
submitted to a different site which then handles the display of
results.
The receiving site has explicitly said, it needs the form values in
unicode encoding.
But when I submit my form, the special danish characters are encoded
wrong.
When I take the HTML of the form, save it (also in visual studio, same
project) as a plain html page, runs it, and submits the form,
everything is ok.
Why this difference in encoding between aspx page and html page?
What can I do to correct it in my aspx page, so it'll work?
I've tried saving the aspx file in unicode format.... no luck
I've tried adding the CodePage attribute to the page directive and set
it to unicode.... no luck
I've changed the meta tag in the html of the aspx page... no luck
Any help or suggestions would be appreciated, and if i've failed to
explain myself properly, then say so, and I'll try to explain it
further.
Regards
Uffe Iversen