Results 1 to 2 of 2
Thread: JSP Not preserve content formats
- 04-30-2012, 08:16 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 1
- Rep Power
- 0
JSP Not preserve content formats
Hi all
In my application i am using struts 1 and jsp
(<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>)
and
<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
- 04-30-2012, 10:52 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,460
- Rep Power
- 16
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.Please do not ask for code as refusal often offends.
Similar Threads
-
How can I display file (different formats) within my GUI?
By Ami in forum AWT / SwingReplies: 3Last Post: 03-01-2012, 02:08 PM -
how to preserve whitespaces etc when tokenizing stream?
By ilyaz in forum LuceneReplies: 5Last Post: 01-13-2012, 08:40 PM -
EML, MSG & MHTML Formats Support, Add/Remove Attachments in Message
By sherazam in forum Java SoftwareReplies: 0Last Post: 06-28-2011, 12:04 PM -
JxCapture 2 is out for Screen Capturing into Image and Video formats!
By TeamDev in forum Reviews / AdvertisingReplies: 0Last Post: 07-01-2010, 03:56 PM -
Class to play variety of video formats
By Swankee in forum New To JavaReplies: 0Last Post: 10-12-2009, 08:38 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks