SheetJS
0121708499
- MakeEncoding.cs program pulls from .NET encodings (tested with Windows 7) (outputs stored at dotnet/out and misc/err) - Many new codepages and improvements - coverage + coveralls - better environment handling (h/t @xch89820) - cpexcel.js for the formats recognized by excel - decode endian option removed (implicit from codepage definition) NOTE: utf7 encode can be more space efficient
3 lines
828 B
JavaScript
3 lines
828 B
JavaScript
if(typeof cptable === 'undefined') cptable = {};
|
||
cptable[20420] = (function(){ var d = "\u0002\u0003\t\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013
\b\u0018\u0019\u001c\u001d\u001e\u001f\n\u0017\u001b\u0005\u0006\u0007\u0016\u0004\u0014\u0015\u001a ﹼﹽـﺀﺁﺂﺃ¢.<(+|&ﺄﺅ<EFBA84><EFBA85>ﺋﺍﺎﺏﺑ!$*);¬-/ﺓﺕﺗﺙﺛﺝﺟﺡ¦,%_>?ﺣﺥﺧﺩﺫﺭﺯﺳ،:#@'=\"abcdefghiﺷﺻﺿﻃﻇjklmnopqrﻉﻊﻋﻌﻍﻎﻏ÷stuvwxyzﻐﻑﻓﻕﻗﻙﻛﻝﻵﻶﻷﻸ<EFBBB7><EFBBB8>ﻻﻼﻟﻡﻣﻥﻧﻩ؛ABCDEFGHIﻫ<C2AD>ﻬ<EFBFBD>ﻭ؟JKLMNOPQRﻯﻰﻱﻲﻳ٠× STUVWXYZ١٢<D9A1>٣٤٥0123456789<38>٦٧٨٩".split(""), e = {}; for(var i=0;i!=d.length;++i) if(d[i].charCodeAt(0) !== 0xFFFD)e[d[i]] = i; return {"enc": e, "dec": d }; })();
|