I have a situation here:
I have a page which is using to show data from server, in which the content has some special characters as Registered Trademark and stuff.I am using java, jsp, jstl in my code.
I have a local development environment in which it works on Windows XP + Tomcat 6/ Weblogic 9.2.3
but when i deploy this same code on Production servers it has a combination of Linux & Weblogic 9.2.3
the registered trademark symbol comes as ỳ
If i do a explicit UTF-8 encoding in my java code where data comes in BufferedReader object :
br = new BufferedReader(new InputStreamReader(in**,"UTF-8"**));
the registered trademark symbol comes as rectangular box type special character(can’t understand it) 😀
I added a code in jsp
<%@pageEncoding….”UTF-8″ %> – dont remember the exact line
But it didnt work for me… i added the above line in my parent as well as iframed jsp it showed me a square box & “?” but no registered trademark….. My Production Server is running on Linux and my local development server is on Windows is that a BIG difference as such to not show the registered trademark.
Thanks in advance…
—
El Nino
You need to set the response encoding to UTF-8 as well. On a per-JSP basis you can do that by adding the following line to the top: