Convert.jsp This program main function is to process the conversion of Chinese characters; code: <%! String Convert (String Str) <% - convert the input Chinese into a BYTE data type string, correctly displaying Chinese. -%> {byte newstr [] = new byte [str.Length ()]; for (int i = 0; i -%> {INDEX = 0; while ((index = str.indexof) / N "))! = - 1) Str = str.substring (0, index) "
" Str.Substring (index 1); Return Str;
}%>