[Android] WebView shouldOverrideUrlLoading 한글 깨짐

2021. 10. 18. 17:05모바일/Android_Java

public boolean shouldOverrideUrlLoading(WebView view, String url) {
    try{ 
        url = URLDecoder.decode(url, "UTF-8"); 
    }catch(Exception e){}
}

UTF-8 로 디코드하면 한글이 깨지지 않습니다