Results 1 to 2 of 2
  1. #1
    pari is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Default 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

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default 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.

    ** This space for rent **

Similar Threads

  1. Replies: 3
    Last Post: 03-01-2012, 03:08 PM
  2. Replies: 5
    Last Post: 01-13-2012, 09:40 PM
  3. Replies: 0
    Last Post: 06-28-2011, 01:04 PM
  4. Replies: 0
    Last Post: 07-01-2010, 04:56 PM
  5. Class to play variety of video formats
    By Swankee in forum New To Java
    Replies: 0
    Last Post: 10-12-2009, 09:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •