Problem with Manage Bean binding

Hi,I have a faces JSP page and a managed bean for that page, this works ok but when I write special characters (like " ?" or " ?") in the field, the value binding is wrong; its contains " ?" or " 贸 " and I do not know what might be.Thanks in advance.
[271 byte] By [Miserota] at [2007-10-3 0:46:23]
# 1
paste the source doe please
amitteva at 2007-7-14 17:41:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

ok, here is (Simplified code):

Test.jsp

<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"

xmlns:h="http://java.sun.com/jsf/html"

xmlns:ice="http://www.icesoft.com/icefaces/component"

xmlns:jsp="http://java.sun.com/JSP/Page"

xmlns:t="http://myfaces.apache.org/tomahawk">

<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"

doctype-system="http://www.w3.org/TR/html4/loose.dtd"

doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />

<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />

<f:view>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title>Test</title>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<h:form id="test">

<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">

<tr>

<td align="right">

<strong><h:outputText value="Code" />:</strong>

</td>

<td align="left">

<h:inputText id="code"

binding="#{test.code}" size="40" maxlength="10"/>

</td>

</tr>

<tr>

<td align="right">

<strong><h:outputText value="Description" />:</strong>

</td>

<td align="left">

<h:inputTextarea id="englishDescription" binding="#{test.englishDescription}"

style="width : 222px; height : 52px;"/>

</td>

</tr>

<tr>

<td align="center">

<div align="center"> </div>

<h:commandButton id="backButton" value="Back"

binding="#{test.backButton}"

action="#{test.backButtonAction}"

ondblclick="return false;" />

</td>

</tr>

</table>

</h:form>

</body>

</html>

</f:view>

</jsp:root>

Manage-beans.xml

<managed-bean>

<managed-bean-name>test</managed-bean-name>

<managed-bean-class>

co.com.TestBean

</managed-bean-class>

<managed-bean-scope>session</managed-bean-scope>

</managed-bean>

TestBean

package co.com;

import javax.faces.component.html.HtmlCommandButton;

import javax.faces.component.html.HtmlInputText;

public class TestBean extends FacesBean {

private HtmlInputText code = new HtmlInputText();

private HtmlInputText englishDescription = new HtmlInputText();

private HtmlCommandButton backButton = new HtmlCommandButton();

public SupplierClientFaultBean() {

}

/**

* @return Returns the code.

*/

public HtmlInputText getCode() {

return code;

}

/**

* @param code The code to set.

*/

public void setCode(HtmlInputText code) {

this.code = code;

}

/**

* @return Returns the englishDescription.

*/

public HtmlInputText getEnglishDescription() {

return englishDescription;

}

/**

* @param englishDescription The englishDescription to set.

*/

public void setEnglishDescription(HtmlInputText englishDescription) {

this.englishDescription = englishDescription;

}

/**

* @return Returns the buttonBack.

*/

public HtmlCommandButton getBackButton() {

return backButton;

}

/**

* @param buttonBack The buttonBack to set.

*/

public void setBackButton(HtmlCommandButton backButton) {

this.backButton = backButton;

}

public String backButtonAction() {

this.getEnglishDescription().getValue();

return "back";

}

}

Again, I write "?, do a request and as result I have one " ?".

Thx in advance.

Miseroa at 2007-7-14 17:41:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...