preact-components icon indicating copy to clipboard operation
preact-components copied to clipboard

Fix Unicode Encode/Decode Process

Open hhsnopek opened this issue 6 years ago • 2 comments

NOTE: the package.json edits were made by yarn/npm installation

Summary

This pull request normalizes encodings between node and the browser. By doing so we eliminate any malformed data and introduce a stable utf8 encoding/decoding library which improves stability between both environments.

Updates

  • Add utf8.js
  • Add Buffer
  • Simplify and normalize encoding/decoding process

hhsnopek avatar Feb 15 '18 01:02 hhsnopek