When I add a Filter
to a particular JSP file, the Arabic characters in the output appears like ???
, even when the page encoding is been set to UTF-8
by <% @page pageEncoding="UTF-8"%>
and <% response.setCharacterEncoding("UTF-8");%>
.
The strange thing is, before I added the Filter
, the output of all Arabic pages appears with correct encoding. Can someone tell how this problem is caused and how I can solve it?