detect-onebyte-encoding

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i detect-onebyte-encoding

Weekly Downloads

20

Version

1.0.3

License

MIT

Unpacked Size

93 kB

Total Files

13

Last publish

Collaborators

  • degitx