forked from sheetjs/sheetjs
SheetJS
6990e66a56
- updated ssf to 0.5.4 - cleaned up CSV string output - added CSV tests (from test_files) - passes lint - inlineStr actually parses <is> block - more XLSB bits
11 lines
421 B
JavaScript
11 lines
421 B
JavaScript
var current_codepage, current_cptable, cptable;
|
|
if(typeof module !== "undefined" && typeof require !== 'undefined') {
|
|
if(typeof cptable === 'undefined') cptable = require('codepage');
|
|
current_codepage = 1252; current_cptable = cptable[1252];
|
|
}
|
|
function reset_cp() {
|
|
current_codepage = 1252; if(typeof cptable !== 'undefined') current_cptable = cptable[1252];
|
|
}
|
|
function _getchar(x) { return String.fromCharCode(x); }
|
|
|