HTML encode problem

Discussion in 'ASP General' started by tkcheng, Aug 19, 2005.

  1. tkcheng

    tkcheng Guest

    Helllo,

    For security reason, we are changing our form submission coding with HTML
    encode on all the text fields to block the SQL injection. However, we
    encounter a problem on double byte character (we will input english and
    chinese character into the fields). If we input double byte character into
    the HTML encode fields and save to SQL database (our IIS server locale is in
    English language), the data will be corrupted.

    Could anyone proivde a workaround solution to solve the above issue.

    Remark: Our IIS server locale must be in English language
     
    tkcheng, Aug 19, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ViperDK

    The right way to Encode html output

    ViperDK, Jul 17, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    701
    Nicole Calinoiu
    Jul 22, 2003
  2. Darrel
    Replies:
    4
    Views:
    12,541
    Kevin Spencer
    Oct 26, 2004
  3. DurumDara
    Replies:
    0
    Views:
    301
    DurumDara
    May 3, 2006
  4. Fredrik Lundh
    Replies:
    0
    Views:
    371
    Fredrik Lundh
    May 3, 2006
  5. DurumDara
    Replies:
    1
    Views:
    547
    Serge Orlov
    May 11, 2006
Loading...

Share This Page