aspose file tools*
The moose likes JSP and the fly likes Having both English and Arabic number in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Having both English and Arabic number in jsp" Watch "Having both English and Arabic number in jsp" New topic
Author

Having both English and Arabic number in jsp

May Moon
Greenhorn

Joined: Jun 28, 2010
Posts: 2
Hi
I want to print a jsp page. This jsp should print some numbers in English and some in Arabic. How can I do?

I use Liferay 5.2.3 , JSR 168.

I tried pageEncoding attribute , charset to UTF-8, Windows-1256,Cp1252 , lang="AR-SA" , but no one helps me.

Waiting...
Mukhi Vla
Ranch Hand

Joined: Apr 22, 2010
Posts: 50
Why can't you try messaage properties file to get the values in Arabic?
May Moon
Greenhorn

Joined: Jun 28, 2010
Posts: 2
Since it's not a text. it's number. and it's dynamic number.
Assume I want to have ${param1} in Arabic, while ${param2} in English in just one JSP.
param1 and 2 can have different value( it's dynamic).

Can you help me in this issue?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having both English and Arabic number in jsp
 
Similar Threads
Strange behavior of the JVM related to Arabization(Localization)
excel doest it support arabic language
pageEncoding="UTF-8" in jsp
translate english language to arabic
Dynamically convert english numbers to arabic in jsp