JSP:

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

CSS:

@charset "UTF-8";

JS:

<script type="text/javascript" src="test.js" charset="UTF-8"></script>