trevorc / node-unicoder

detect and normalize encodings of text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicoder

Unicoder is a simple node.js library for normalizing the encoding of text.

Unicoder takes a Buffer containing a bytestring representing a document with an unknown encoding, then guesses the encoding using a binding to ICU, and finally reencodes the Buffer into a JavaScript String.

Installation:

make install

Prerequisites:

  • node-iconv
  • libicu (including header files)

About

detect and normalize encodings of text

License:MIT License


Languages

Language:C++ 88.8%Language:JavaScript 11.2%