Skip to content

ahmetkizilay/turkish-char-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

a tool to convert turkish character encodings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published