UnsupportedEncodingException是什么?

转码异常!!

例如:

try {
request.setCharacterEncoding("utf-8");
} catch (UnsupportedEncodingException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

posted @ 2017-04-01 18:29  lc_smile36  阅读(13210)  评论(0编辑  收藏  举报