Library tutorials & articles

ADO and Unicode

Client-side HTML form

The input form must be set the the UTF-8 character-set using meta tags. The purpose for setting browser character-set is to encode all Unicode code points as UTF-8 byte streams to the submit_to_database.asp Active Server Page.

   <script language=javascript>
   function submitPage()
   {
       document.frmMain.action='submit_to_database.asp';
       document.frmMain.method='POST';
       document.frmMain.submit();
   }
   </script>

   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">

   <FORM NAME=frmMain>
   <pre>
   Unicode Character:<INPUT TYPE="text" NAME="code_point" VALUE="">
   Unicode Value: <INPUT TYPE="text" NAME="unicode_number" VALUE=""><br>
   </pre>
   <br>
   <INPUT TYPE="button" VALUE="Submit Unicode" onClick="submitPage();">
   </FORM>

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of ADO and Unicode.

Leave a comment

Sign in or Join us (it's free).

David Nishimoto NishiSoft provides Part I of the Information Technology Project collaboration. Sign up and list your IT project tasks, assign task too friends, and get percent complete task. Part will include a wo...

Related podcasts

  • Java Posse #213 - Newscast for Oct 23rd 2008

    Newscast for Oct 23rd 2008 Fully formatted shownotes can always be found at http://javaposse.com The Android project has been released as open source, beating the rumored launch date for the source code by several months http://source.android.com/ And, Gizmodo and ZDNet both offer in-depth ...

We'd love to hear what you think! Submit ideas or give us feedback