JSP Not preserve content formats
In my application i am using struts 1 and jsp
(<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
But when user copy data from MS word and insert through textarea some symbols coverted into "?" mark
we are using html:textarea and inserting data through prepared statment
Can you please suggest solution of these
thanks in advance
Re: JSP Not preserve content formats
You'll need to find out where exactly the character set problem is occurring.
Check the value received by the server for starters.
If that's OK (and it probably will be) then it's likely to be the character set on the database.