Closed Thread Icon

Topic awaiting preservation: Using UTF-8 encoding for jsp textarea field instead HTML encoding Pages that link to <a href="https://ozoneasylum.com/backlink?for=31199" title="Pages that link to Topic awaiting preservation: Using UTF-8 encoding for jsp textarea field instead HTML encoding" rel="nofollow" >Topic awaiting preservation: Using UTF-8 encoding for jsp textarea field instead HTML encoding\

 
Author Thread
Nimmala
Obsessive-Compulsive (I) Inmate

From:
Insane since: Feb 2009

posted posted 08-03-2009 15:35

Hi i want use UTF-8 encoding for my jsp's text area field instead of HTML encoding.
I want to know how to set explicit encoding for a text area content in jsp file.

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 08-03-2009 15:39

UTF-8 encoding and HTML (not an encoding) are not mutually exclusive. I suggest you use UTF-8 for pretty much everything. If the problem is you need something other than UTF-8 for everything _except_ one particular textarea, then you have problems indeed. Pick one.

Nimmala
Obsessive-Compulsive (I) Inmate

From:
Insane since: Feb 2009

posted posted 08-03-2009 16:23

How we can set encoding type in jsp explicitly.

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 08-03-2009 19:51

Probably one of these:

code:
<%@page contentType="text/html;charset=UTF-8"%>

code:
<%@page pageEncoding="UTF-8"%>

« BackwardsOnwards »

Show Forum Drop Down Menu