but .... there's no Filter attribute in <html:text> :|

----- Original Message ----- From: "yue pengfei" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, April 15, 2005 3:33 PM
Subject: Re: [HELP] <html:text> encodes special characters automatically?



Maybe you need set the filter attribute of html:text

On 4/15/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
Hi all,

I got a problem, again :)

when I input special characters like japanese or vietnamese character into <html:text>, <html:text> automatically encodes that characters Decimal NCRs before mapping to bean property.

Example 1:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> or <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
...
<html:text property="myPro"/>
I input japanese characters: ããã
Before it is mapped to bean property myPro: &#12431;&#12383;&#12375;


Example 2:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> or <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
...
<html:text property="myPro"/>
I input vietnamese characters: Tái Qua
Before it is mapped to bean property myPro: T?i Qua;


So, I wonder that does <html:text> encodes special character automatically when it find some character like japanese or vietnamese?

plz help me!

Pham






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to