Question: I need to decode HTML entities, e.g. from &#246; to ö, and &amp; to &.

`URLEncoder.decode(str)` does not do the job (convert from % notations). TextUtils has a HTMLencode, but not a HTMLdecode.

Are there any function for decoding HTML entities?

Answer: 
Simply you can do that using this code

```
  Html.fromHtml(String).toString();

```

Hope this will help you
you can use WebView to represent any html text easily by following below steps.

first convert your data in html format as :

```
String res=null;
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {
res=Html.fromHtml(product.getDescription(),Html.FROM_HTML_MODE_COMPACT).toString();
}
else{
res=Html.fromHtml(product.getDescription()).toString();
}

```

Then load your data in WebView as: 

```
myWebView.loadDataWithBaseURL(null, res, "text/html", "utf-8", null);

```