title: How to decode UNICODE characters into normal characters in angular 11
body: <p>I have a json(array of objects).I am manipulating it with ngFor in angular. My json contains few html entities and unicode characters, I can able to decode html entities using dom sanitize pipe but not able to decode unicode. Here is the code below</p>
  <h2>app.component.html</h2>
  <pre><code>&lt;div *ngFor=&quot;let datas of testJson&quot; &gt;&lt;span [innerHtml]=&quot;datas.test | sanitise&quot;&gt;&lt;/span&gt;&lt;/div&gt;
  </code></pre>
  <h2>sanitise.pipe.ts</h2>
  <pre><code>import { Component, OnInit, Pipe, PipeTransform } from '@angular/core';
  import { DomSanitizer,SafeHtml } from '@angular/platform-browser'
  
  @Pipe({
    name: 'sanitise'
  })
  export class SanitisePipe implements PipeTransform {
    constructor(private sanitized: DomSanitizer) { }
    transform(value:any, args?: any) : SafeHtml {
      return this.sanitized.bypassSecurityTrustHtml(value);
    }
  
  }
  </code></pre>
  <h2>app.component.ts</h2>
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
    selector: 'my-app',
    templateUrl: './app.component.html',
    styleUrls: [ './app.component.css' ]
  })
  export class AppComponent  {
    testJson = [{
          &quot;test&quot;: &quot;I am fine U+00026 well&quot;
      },
      {
          &quot;test&quot;: &quot;I am fine &amp;#x26; well&quot;
      },
      {
          &quot;test&quot;: &quot;I am fine &amp;#38; well&quot;
      },
      {
          &quot;test&quot;: &quot;I am fine \u0026 well&quot;
      }
  ]
    name = 'Angular';
  }
  </code></pre>