title: Converting array buffer in string
body: <p>I am stuck in converting arraybuffer to string in typescript (angular 4 project). Any help is highly appreciated.</p>
  <p>Code output is showing string but with  this sign - �</p>
  <p>Required Output :</p>
  <h1>PROGRAM &quot;Digitala †rsredovisningen&quot;</h1>
  <p>Getting Output :</p>
  <h1>PROGRAM &quot;Digitala �rsredovisningen&quot;</h1>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>  
  ab2str(arraybuffer) {
          return String.fromCharCode.apply(null, new Uint8Array(arraybuffer));
        }</code></pre>
  </div>
  </div>
  </p>