Code & sample data for the Encoding API (Chrome 38+).