[Pkg-javascript-commits] [node-iconv-lite] 70/83: Version 0.2.11: Added encoding support check (thanks to @mscdex)

matthew pideil mpideil-guest at moszumanska.debian.org
Tue Apr 1 19:56:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

mpideil-guest pushed a commit to branch master
in repository node-iconv-lite.

commit f147af93241869b7d1e9cc041ae31e63a53d0331
Author: Alexander Shtuchkin <ashtuchkin at gmail.com>
Date:   Mon Jul 15 05:22:28 2013 +0400

    Version 0.2.11: Added encoding support check (thanks to @mscdex)
---
 README.md    | 4 ++++
 package.json | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 6bea38f..ba30a32 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,10 @@ iconv-lite - pure javascript character encoding conversion
     // Convert from string to an encoded buffer.
     buf = iconv.encode("Sample input string", 'win1251');
 
+    // Check if encoding is supported
+    iconv.encodingExists("us-ascii")
+
+
 ## Supported encodings
 
 *   All node.js native encodings: 'utf8', 'ucs2', 'ascii', 'binary', 'base64'
diff --git a/package.json b/package.json
index ac810ad..ce08828 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
     "name": "iconv-lite",
     "description": "Convert character encodings in pure javascript.",
-    "version": "0.2.10",
+    "version": "0.2.11",
     "license": "MIT",
     
     "keywords": ["iconv", "convert", "charset"],
@@ -15,7 +15,8 @@
         "wychi (https://github.com/wychi)",
         "David Kuo (https://github.com/david50407)",
         "ChangZhuo Chen (https://github.com/czchen)",
-        "Lee Treveil (https://github.com/leetreveil)"
+        "Lee Treveil (https://github.com/leetreveil)",
+        "Brian White (https://github.com/mscdex)"
     ],
     
     "main": "index.js",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iconv-lite.git



More information about the Pkg-javascript-commits mailing list