Topic: Using UTF-8 encoding for jsp textarea field instead HTML encoding (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31199" title="Pages that link to Topic: Using UTF-8 encoding for jsp textarea field instead HTML encoding (Page 1 of 1)" rel="nofollow" >Topic: Using UTF-8 encoding for jsp textarea field instead HTML encoding <span class="small">(Page 1 of 1)</span>\

 
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"%>



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu