Hello Saad!

SS> Hi,
SS> I have a problem with setting charset in JSP file.

SS> I  set it like that:

SS> response.setContentType("text/html;charset=windows-1256");

SS> but when i run it through the browser it does display the correct
SS> characters, and the browser encoding is ISO.


SS> is there any way to solve it..

What's your browser?
What servlet container?

Maybe browser misconfiguration.

Also see http://tagunov.tripod.com/i18n/view.html
and make sure your headers are okay.
This way you'll understand if the problem
is browser's or servlet containers.

- Anton
[EMAIL PROTECTED]
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to