This is a discussion on UTF-8 Enconding in IBM WebSphere 5.1 Portlets - Websphere ; Hi All, I am trying to capture text from a html form input field. User can enter this in their native language (Chinese, Japanese, Hindi etc.) I want to store and retreive the same from the database (Oracle9i). The same ...
Hi All,
I am trying to capture text from a html form input field. User can
enter this in their native language (Chinese, Japanese, Hindi etc.) I
want to store and retreive the same from the database (Oracle9i). The
same works fine when using a servlet. When I try to simulate the
scenario with webphere portlet then entered characters are stored as
question marks. Any body faced similar issue? What is the work around?
Thanks in advance.
I have tried adding the below code to my jsp/html. This works only for
a j2ee appliation (servlet)
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
New Document
Regards,
lbakum