Posting swedish characters asp to aspx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mats Larsson
    New Member
    • Dec 2010
    • 1

    #1

    Posting swedish characters asp to aspx

    Hi,

    Problem: I have problem getting swedish characters right.

    This is the scenario:
    ---------------------
    A lot of asp pages working since years, with no problem.

    One of them is an asp form which posts text fields to an aspx page. This aspx is my first aspx ever. It does everything I want, except from one very very important thing. It does not understand swedish national characters.



    Problem example:
    ----------------
    I enter a swedish word into the asp text field, like 'hjälp', then i press the button.
    In the aspx file the result is: 'hj?lp'.
    Instead of getting an ä (ä) there is a question mark.


    I have tried page LCID="1053" plus a numerous of other things, with no luck.


    This is probably about basic knowledge, so in the first place I have spent some time searching the Internet....wit h no luck.

    Some aspx:
    ---------------------
    <%@ Page Trace="true" debug="false" Language="vb" aspcompat="fals e" validateRequest ="false"%>
    <%@ Import Namespace=Syste m.Drawing %>
    <%@ Import Namespace=Syste m.Drawing.Imagi ng %>
    <%@ Import Namespace=Syste m %>
    <%@ Import Namespace=Syste m.Web %>
    <%@ Import Namespace=Syste m.Data %>
    <%@ Import Namespace=Syste m.Data.SqlClien t %>
    <%@ Import Namespace=Syste m.Data.OleDb %>
    <%@ Import Namespace="Syst em.IO" %>

    <%
    response.write (request.form(" any_textfield") )
    %>
    ------------
    Result: hj?lp


    What's missing?


    I simply need a concrete piece of code, rather than a theoretical explanation or tons of questions.

    If you have it, can I have it too, please?



    Thanks in advance, Mats
Working...