cancel
Showing results for 
Search instead for 
Did you mean: 

unicode javascript

srmo642002
Champ in-the-making
Champ in-the-making
i have problem with messages in unicode format that must be shown in javaScripts (error messages)..
the message box shows &#….; characters

also i set the encodeForJavaScript="true" property in <aSmiley SurprisedutputText …/>
but it dont work…. the message in message box is in %BB format

what i do ?
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
How are you specifying the characters in your properties files?

For the encodeForJavaScript attribute to work you need to use the /u encoding form, for example \u00e9l.