1.0.3 • Published 5 years ago
detect-onebyte-encoding v1.0.3
One-byte encoding detection
Detection encoding of string according to one-byte representation.
Examples
const detectEncoding = require('detect-onebyte-encoding');
console.log(detectEncoding('привет'))
// cp1251
console.log(detectEncoding('żywność'))
// cp1250
Instalation
npm install detect-onebyte-encoding