wood burning stoves 2.0*
The moose likes JSP and the fly likes arabic charachter problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "arabic charachter problem" Watch "arabic charachter problem" New topic

arabic charachter problem

hani Ibrahim
Ranch Hand

Joined: Sep 06, 2006
Posts: 182
Dear all,
i want to show arabic letters from message_ar.properties
in servlet:
Locale locale = new Locale("ar", "JO");
//testbundle. : is the package name
ResourceBundle bundleMSG = ResourceBundle.getBundle("message_ar",locale);
String Hi = bundleMSG.getString("Hi");
in jsp:
<%@page pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
HI ${requestScope.Hi};

it shows to me like this:
how can i make it show actuall arabic letters.
Please help with details.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41089
Does the font you're using to view the page have Arabic characters?

Ping & DNS - my free Android networking tools app
Consider Paul's rocket mass heater.
subject: arabic charachter problem
Similar Threads
Arabic language support in JAVA
Strange problem with Resource files and I18n
want to open notepad from client machine
Arabic language support in Portlet
UTF-8 problem again, but still little diffrent