Lines Matching refs:current_codepage
7 var current_codepage = 1200, current_ansi = 1252; variable
40 var set_cp = function(cp/*:number*/) { current_codepage = cp; set_ansi(cp); };
69 set_cp = function(cp/*:number*/) { current_codepage = cp; set_ansi(cp); };
75 if(current_codepage === 1200) return String.fromCharCode(x);
76 return $cptable.utils.decode(current_codepage, [x&255,x>>8])[0];
3970 …r len = __readUInt32LE(b,i); return len > 0 ? $cptable.utils.decode(current_codepage, b.slice(i+4,…
3998 …if(typeof $cptable !== 'undefined') o = $cptable.utils.decode(current_codepage, this.slice(this.l,…
4034 o = $cptable.utils.decode(current_codepage, this.slice(this.l, this.l + size));
4089 cpp = $cptable.utils.encode(current_codepage, val);
6342 var cp = current_codepage;
6343 if(opts && opts.biff >= 8) current_codepage = 1200;
6352 current_codepage = cp;
6358 var cp = current_codepage;
6359 current_codepage = 1200;
6373 current_codepage = cp;
7890 var old_cp = current_codepage;
7953 var cp = +dbf_reverse_map[/*::String(*/current_codepage/*::)*/] || 0x03;
7956 if(o.codepage) console.error("DBF Unsupported codepage " + current_codepage + ", using 1252");
7957 current_codepage = 1252;
8012 current_codepage = old_cp;