Use escape="false" on the outputText.
----------------------------------------
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 20, 2006
6:35 AM
To: [email protected]
Subject: Javascript
Alert with Japanese characters (UTF-8)
Hi,
I am developing
a web application
using MyFaces 1.1.1.
I have to
display Japanese Java
script alert messages.
I am reading
the messages from
resource bundle using h:outputText.
e.g.
alert('</f:verbatim><h:outputText
value="#{messages.res_alert1}"/><f:verbatim>)
The messages
are displayed as
sequence of &#nnnnn;. (where nnnnn is decimal equivalent of Unicode
character).
How can I
display Japanese strings
instead of number?
Thanks &
Regards,
Kiran