HTML encode problem

T

tkcheng

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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top