Content-Length: 288955 | pFad | http://github.com/SheetJS/js-codepage/commit/14644b57895c311a6fcc680cda458de1312e357a

B9 version bump 1.8.1: codepage.njs bom fix [ci skip] · SheetJS/js-codepage@14644b5 · GitHub
Skip to content

Commit 14644b5

Browse files
committed
version bump 1.8.1: codepage.njs bom fix [ci skip]
1 parent 0a49ae9 commit 14644b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/codepage.njs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function process_text(text) {
5757
bom[65000] = new Buffer([0x2B, 0x2F, 0x76, 0x2B]);
5858
bom[65001] = new Buffer([0xEF, 0xBB, 0xBF]);
5959

60-
var mybom = (program.bom && bom[fr] ? bom[fr] : "");
60+
var mybom = (program.bom && bom[to] ? bom[to] : "");
6161
var out = to === 65001 ? dec.toString('utf8') : codepage.utils.encode(to, dec);
6262

6363
/* if output file is specified */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codepage",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"author": "SheetJS",
55
"description": "pure-JS library to handle codepages",
66
"keywords": [ "codepage", "iconv", "convert", "strings" ],

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/SheetJS/js-codepage/commit/14644b57895c311a6fcc680cda458de1312e357a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy