hello,everyone

i meet a problem in my program which include chinese characters in the jsp page:
        1,variable "subType" is a string which i read from database represent some 
chinese characters. i use "System.out.println(subType);" to print the string. it's 
correct.
        2,String anyValue="some chinese characters here";
for variable "anyValue", i define it and give some chinese characters to it. the value 
in it is same as "subType".
        3, subType.compareTo(anyValue)
this sentence will not return zero.
why?
can anyone help me!!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to