This indicates the user is entering text that is not supported by the
character set of your page. If you set the content-type of your page to
text/html;charset=UTF-8 then the browser will respond with UTF-8 text
and thus won't need to encode characters like this.
For example, put this at the very top of your JSP:
<%@ page language="java" buffer="8kb"
contentType="text/html;charset=UTF-8"%>
Eric
On 1 Sep 2005 9:09, Kevin Roast wrote:
Hi,
We have an application where we would like users to be able to enter
multi-byte characters such as Chinese/Japanese. The user can enter the
characters fine into an <h:inputText> form field. In my bean which has a
binding to the field, I'm seeing String contents such as
"きゃオム㋚" - where as I would hope the
String would contain the java UTF version of the characters. Does my
application require an extra "decoding" step for _every_ bean property -
or I am missing something? E.g. Do I need to tell MyFaces to decode
multi-byte String values from HTML Forms values or do I need to do
something to the page itself...?
Thanks for your time,
Kevin