Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Chisisi Massri   on Feb 25 In Java Category.

  
Question Answered By: Faeezah Khan   on Feb 25



<html>
<%@ page  pageEncoding="UTF-8"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.Properties"%>
<body bgcolor="#ffffff">
<%!String printString = "ÓáÇã";%>
<%
request.setCharacterEncoding("UTF-8"); //Baraye daryafte dadehaye farsi az safhehaye digar.
response.setCharacterEncoding("UTF-8"); //For jdk1.5, later .Baraye encoding  dadehaye khode safhe.
%>
<%=printString %></body>
</html>

Share: