Topic awaiting preservation: Using UTF-8 encoding for jsp textarea field instead HTML encoding |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: |
posted 08-03-2009 15:35
Hi i want use UTF-8 encoding for my jsp's text area field instead of HTML encoding. |
Paranoid (IV) Inmate From: Florida |
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. |
Obsessive-Compulsive (I) Inmate From: |
posted 08-03-2009 16:23
How we can set encoding type in jsp explicitly. |
Paranoid (IV) Inmate From: Florida |
posted 08-03-2009 19:51
Probably one of these: code: <%@page contentType="text/html;charset=UTF-8"%> code: <%@page pageEncoding="UTF-8"%> |