turkish-char-encoding

0.0.5 • Public • Published

turkish-char-encoding

This is a simple tool for NodeJS to convert ISO-8859-9 and Windows-1254 encoded Strings and Buffers into UTF-8 strings.

Installation

npm install turkish-char-encoding

Testing

Tests use mocha and should.

npm test

Usage

var encoder = require('turkish-char-encoding');

// for win-1254
var str = encoder('win-1254').toUTF8('ÖöÇ窺İıĞğÜü'); // your win-1254 text/buffer
// for iso-8859-9
var str = encoder('iso-8859-9').toUTF8('ÖöÇ窺İıĞğÜü'); // your iso-8859-9 text/buffer
etc...

/turkish-char-encoding/

    Package Sidebar

    Install

    npm i turkish-char-encoding

    Weekly Downloads

    11

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • ahmetkizilay