We have a screen in our JSF PrimeFaces application that uses link tag to move to another page. There are 2 parameters that are passed to the second screen. When you hover the mouse over the link, you can see that the parameters are in Arabic. But other page receives the parameters in distorted form (this happens for Arabic parameter only. There is no problem for English). Is there any setting to enable proper passing of the Arabic parameters or I am missing something? Code is given below:
First Screen:
<p:link value="#{group.name}" outcome="contact">
<f:param name="id" value="#{group.id}" />
<f:param name="name" value="#{group.name}" />
</p:link>
Second Screen: Getting the parameter
<f:metadata>
<f:viewParam name="id" value="#{contact.groupID}"/>
<f:viewParam name="name" value="#{contact.groupName}"/>
</f:metadata>
. . . Code for Displaying the text
<h:outputText value="Name: #{contact.groupName}" style="float:left;"/>
I have debugged and found that the value passed to the bean of the second screen is distorted like اÙÙØ´Ø§Ø±.