_webView->setOnShouldStartLoading(CC_CALLBACK_2(WebView::jsCallBack, this));
就是这个,传入中文字符怎么办?
_webView->setOnShouldStartLoading(CC_CALLBACK_2(WebView::jsCallBack, this));
就是这个,传入中文字符怎么办?
/Js回调函数/
bool WebView::jsCallBack(cocos2d::experimental::ui::WebView *sender, const std::string &url)
url里面有中文字符,会显示乱码