|
From: Shigemichi Y. <ya...@gl...> - 2001-07-06 21:50:08
|
At Fri, 6 Jul 2001 11:01:13 -0700 , RUCH,SCOTT (HP-NewJersey,ex2) <sco...@hp...> wrote: > sun.io.MalformedInputException > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:110) > at sun.io.ByteToCharConverter.convertAll(ByteToCharConverter.java:146) > at > jsp_servlet._encoding_conversion_test._jspService(_encoding_conversion_test. > java:112) It seems to me that the string a browser sent to the server is not a UTF-8 string. What's the encoding of the HTML page that sends the text. The page's encoding must be UTF-8, if you expect to get the string in UTF-8 (at least for Internet Explorer and Netscape). If the HTML page is generated by a JSP, does the JSP has contentType attribute in page directive as this? <%@ page contentType="text/html; charset=UTF-8" %> ------------------- Shigemichi Yazawa ya...@gl... |