WebSettings settings = webView.getSettings(); // 设置页面编码 settings.setDefaultTextEncodingName("utf-8");