[Pkg-javascript-commits] [node-iconv-lite] 32/83: Added windows, ibm aliases for koi8r, koi8u.

matthew pideil mpideil-guest at moszumanska.debian.org
Tue Apr 1 19:56:48 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 71f295a3deddb7697f5dbfebc0503d248ce032fc
Author: Alexander Shtuchkin <ashtuchkin at gmail.com>
Date:   Mon May 7 21:41:42 2012 +0400

    Added windows, ibm aliases for koi8r, koi8u.
---
 encodings/singlebyte.js           | 6 ++++++
 generation/generate-singlebyte.js | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/encodings/singlebyte.js b/encodings/singlebyte.js
index 5e068df..b137682 100644
--- a/encodings/singlebyte.js
+++ b/encodings/singlebyte.js
@@ -25,6 +25,8 @@ module.exports = {
   "1256": "windows1256",
   "1257": "windows1257",
   "1258": "windows1258",
+  "20866": "koi8r",
+  "21866": "koi8u",
   "28591": "iso88591",
   "28592": "iso88592",
   "28593": "iso88593",
@@ -68,6 +70,10 @@ module.exports = {
   "cp874": "iso885911",
   "celtic": "iso885914",
   "celtic8": "iso885914",
+  "cp20866": "koi8r",
+  "ibm878": "koi8r",
+  "cp21866": "koi8u",
+  "ibm1168": "koi8u",
   "windows1250": {
     "type": "singlebyte",
     "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
diff --git a/generation/generate-singlebyte.js b/generation/generate-singlebyte.js
index ce1a043..3af50bf 100644
--- a/generation/generate-singlebyte.js
+++ b/generation/generate-singlebyte.js
@@ -79,6 +79,14 @@ var encodings = {
     "874": "iso885911",
     "celtic": "iso885914",
     "celtic8": "iso885914",
+
+    "cp20866": "koi8r",
+    "20866": "koi8r",
+    "ibm878": "koi8r",
+    "cp21866": "koi8u",
+    "21866": "koi8u",
+    "ibm1168": "koi8u",
+    
 };
 
 // Add all encodings from encodingFamilies.

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