????????????????? ????????????????? ???????????£? ???????????.
??????????????????????????.
????1. JSP
??????????????????JSP????????????:
??????Eclipse-window->preferences. ??????????.

??????????? ????? JSP??????? ?????????????.
????<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
????<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
????????????????? ????????????????????????????? ????????????
???????????????UTF-8???????????.
????2. Servlet
?????? doGet/doPost ?У? ????????????????
????// ?????????????????????UTF-8????
????request.setCharacterEncoding("UTF-8");
????tip: ?????????? filter??????????????.
????3. JDBC-URL
??????????????JDBC-URL?????????? ???????????????.
????jdbc:mysql://localhost/javaweb?useUnicode=true&characterEncoding=utf-8
????4. MySQL
????????????????? charset=utf8?? collation=utf8_general_ci
????????????????? charset=utf8?? collation=utf8_general_ci