Dear Rajaguru
I added:
<%@ page contentType="text/html; charset=UTF-8" %>
<% request.setCharacterEncoding("UTF-8");%>
But still no joy.
Just to give some more background on my problem. I wrote the jsp page in notepad adding the chinese characters using Microsoft IME. When I then save it and move the jsp page to the Linux server running
Tomcat and I view just this jsp page all characters work fine and html tags also (but not jsp tags).
Opening this jsp file in anything but notepad (eg vi, emacs, netbeans) shows mismash of junk hex looking characters. Also including it in a container jsp page the page prints out html verbatim and hex instead of chinese.
So another approach is if I write a JSP page in netbeans and then cut and paste the chinese characters they fist come out as two square and when saved and reopened change to ??.
I just want to put Chinese characters into jsp pages, how does everyone else do it?
Thank you very much for your help
Andrew Och