The character encoding in XML, (X)HTML files, and JSP files can be specified and invoked in many different ways; however, we recommend that you specify the encoding in each one of your source files, for that is where many XML, HTML, JSP editors expect to find the encoding.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<?xml version="1.0" encoding="iso-8859-1" ?>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />