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

IP logged posted posted 08-03-2009 15:35 Edit Quote

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

IP logged posted posted 08-03-2009 15:39 Edit Quote

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

IP logged posted posted 08-03-2009 16:23 Edit Quote

How we can set encoding type in jsp explicitly.

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 08-03-2009 19:51 Edit Quote

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: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu