Encoding issue when submitting form

Discussion in 'ASP .Net' started by UIVE, Dec 21, 2006.

  1. UIVE

    UIVE Guest

    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
    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
    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

    Uffe Iversen
    UIVE, Dec 21, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.