I use servlet to export wml on the Nokia Toolkit,and i can export the English String on the Nokia Toolkit through the servlet,but i can export the Chinese String on the Nokia Toolkit,it appears turmoil String on the Nokia Toolkit or the error message is Internal Server ERROR(500).
This is my source code:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.text.*;

public class Hello19 extends HttpServlet {

  //Initialize global variables
  public void init(ServletConfig config) throws ServletException {
    super.init(config);
  }

  //Process the HTTP Get request
  public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    ServletOutputStream out1=response.getOutputStream();
    response.setContentType("text/vnd.wap.wml;charset=ISO-10646-UCS-2");
    PrintWriter out = new PrintWriter (response.getOutputStream());
    OutputStreamWriter out=new OutputStreamWriter(out1,"ISO-10646-UCS-2");

    out.write("<?xml version=\"1.0\"?>");
    out.write("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">");
    out.write("<wml>");
    out.write("<card id=\"Introduction\" title=\"Back\">");
    out.write("<p>");
    out.write("&#27426;&#36814;!!<br/>");
    out.write("</p>");
    out.write("</card>");
    out.write("</wml>");
    out.close();
  }

  //Get Servlet information
  public String getServletInfo() {
    return "Hello19 Information";
  }
}