Dear All,

I have developed an application using Struts 1.3. and running on IBM WAS 7.
Application supports English and Arabic languages. English locale is
working fine but while in Arabic locale message labels (from properties
resource bundle) display question marks "????" instead of the Arabic
characters. It does not happen always so I am unable to reproduce the
error. In case if this happens after refreshing the page, labels display
proper message.

I am using following code to set Arabic Locale in application;

*request.getSession().setAttribute(Globals.LOCALE_KEY, new Locale("ar",
"AE"));*

To ensure character encoding to be UTF-8, I set it using below code.

<%@page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<% request.setCharacterEncoding("UTF-8");%>


Does any one has idea ????? Please respond me ASAP.


Regards,
M. Qadeer Saeed

Reply via email to