I am having two jsp say "first.jsp" and "second.jsp" which is included in "first.jsp". I wanted to display trade mark symbol in jsp so I used
<%@ page pageEncoding="UTF-8"%>
in "first.jsp" which is working fine when first time page is loading. But when I am invoking ajax request then result is coming in "second.jsp" which is included in "first.jsp" and this time trade mark symbol is not displaying properly. It displays some block instead of trade mark symbol.
When I saw viewSource there I got symbol displaying properly.
I also tried using content-type but still no luck.
EDITED
After changing editors encoding setting to UTF-8 it is working on localhost but fails on test server.
Any help will be appreciated.