Encoding API

Misc

Summary

Script API to allow encoding/decoding of strings from binary data. Common scenario: decoding a binary data file fetched via XHR into an ArrayBuffer that contains strings encoded as UTF-8.

Demo

Documentation

Specification

Editor's draft

Implementation Status

Behind a flag in desktop Chrome 30 (launch bug)

Consensus & Standardization

  • Firefox: Shipped
  • Internet Explorer: No public signals
  • Opera: Shipped in release 17
  • Opera for Android: Shipped in release 17
  • Safari: No public signals
  • Web Developers: Positive

Owners

Last updated on 2014-08-28