@dpuse/dpuse-shared 1.0.106 → 1.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -67
- package/dist/dpuse-shared.es.js +412 -323
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/encoding/index.d.ts +329 -244
- package/package.json +3 -3
|
@@ -8,17 +8,14 @@ interface EncodingGroupConfig {
|
|
|
8
8
|
interface EncodingTypeConfig {
|
|
9
9
|
id: EncodingTypeId;
|
|
10
10
|
groupId: EncodingGroupId | null;
|
|
11
|
-
|
|
12
|
-
isDecodable: boolean;
|
|
13
|
-
decoderId: EncodingTypeId | null;
|
|
11
|
+
decoderId: string | null;
|
|
14
12
|
}
|
|
15
13
|
export interface EncodingTypeConfigLocalised {
|
|
16
14
|
id: EncodingTypeId;
|
|
17
15
|
groupLabel: string;
|
|
18
16
|
label: string;
|
|
19
|
-
isDetectable: boolean;
|
|
20
17
|
isDecodable: boolean;
|
|
21
|
-
decoderId:
|
|
18
|
+
decoderId: string | null;
|
|
22
19
|
}
|
|
23
20
|
export interface EncodingDetectionConfig {
|
|
24
21
|
id: EncodingTypeId;
|
|
@@ -177,349 +174,437 @@ declare const ENCODING_TYPE_CONFIG_DATA: {
|
|
|
177
174
|
readonly ascii: {
|
|
178
175
|
readonly id: "ascii";
|
|
179
176
|
readonly groupId: null;
|
|
180
|
-
readonly isDetectable: true;
|
|
181
|
-
readonly isDecodable: true;
|
|
182
177
|
readonly decoderId: "windows-1252";
|
|
183
178
|
};
|
|
184
|
-
readonly
|
|
185
|
-
readonly id: "
|
|
179
|
+
readonly Big5: {
|
|
180
|
+
readonly id: "Big5";
|
|
186
181
|
readonly groupId: "chineseTraditional";
|
|
187
|
-
readonly
|
|
188
|
-
|
|
182
|
+
readonly decoderId: "big5";
|
|
183
|
+
};
|
|
184
|
+
readonly cp273: {
|
|
185
|
+
readonly id: "cp273";
|
|
186
|
+
readonly groupId: "western";
|
|
189
187
|
readonly decoderId: null;
|
|
190
188
|
};
|
|
191
|
-
readonly
|
|
192
|
-
readonly id: "
|
|
193
|
-
readonly groupId: "
|
|
194
|
-
readonly isDetectable: true;
|
|
195
|
-
readonly isDecodable: true;
|
|
189
|
+
readonly cp424: {
|
|
190
|
+
readonly id: "cp424";
|
|
191
|
+
readonly groupId: "hebrew";
|
|
196
192
|
readonly decoderId: null;
|
|
197
193
|
};
|
|
198
|
-
readonly
|
|
199
|
-
readonly id: "
|
|
200
|
-
readonly groupId: "
|
|
201
|
-
readonly isDetectable: true;
|
|
202
|
-
readonly isDecodable: true;
|
|
194
|
+
readonly cp437: {
|
|
195
|
+
readonly id: "cp437";
|
|
196
|
+
readonly groupId: "western";
|
|
203
197
|
readonly decoderId: null;
|
|
204
198
|
};
|
|
205
|
-
readonly
|
|
206
|
-
readonly id: "
|
|
207
|
-
readonly groupId: "
|
|
208
|
-
readonly isDetectable: true;
|
|
209
|
-
readonly isDecodable: true;
|
|
199
|
+
readonly cp500: {
|
|
200
|
+
readonly id: "cp500";
|
|
201
|
+
readonly groupId: "western";
|
|
210
202
|
readonly decoderId: null;
|
|
211
203
|
};
|
|
212
|
-
readonly
|
|
213
|
-
readonly id: "
|
|
214
|
-
readonly groupId: "
|
|
215
|
-
readonly isDetectable: false;
|
|
216
|
-
readonly isDecodable: true;
|
|
204
|
+
readonly cp720: {
|
|
205
|
+
readonly id: "cp720";
|
|
206
|
+
readonly groupId: "arabic";
|
|
217
207
|
readonly decoderId: null;
|
|
218
208
|
};
|
|
219
|
-
readonly
|
|
220
|
-
readonly id: "
|
|
221
|
-
readonly groupId: "
|
|
222
|
-
readonly isDetectable: false;
|
|
223
|
-
readonly isDecodable: true;
|
|
209
|
+
readonly cp737: {
|
|
210
|
+
readonly id: "cp737";
|
|
211
|
+
readonly groupId: "greek";
|
|
224
212
|
readonly decoderId: null;
|
|
225
213
|
};
|
|
226
|
-
readonly
|
|
227
|
-
readonly id: "
|
|
228
|
-
readonly groupId: "
|
|
229
|
-
readonly isDetectable: true;
|
|
230
|
-
readonly isDecodable: false;
|
|
214
|
+
readonly cp775: {
|
|
215
|
+
readonly id: "cp775";
|
|
216
|
+
readonly groupId: "baltic";
|
|
231
217
|
readonly decoderId: null;
|
|
232
218
|
};
|
|
233
|
-
readonly
|
|
234
|
-
readonly id: "
|
|
235
|
-
readonly groupId: "
|
|
236
|
-
readonly isDetectable: true;
|
|
237
|
-
readonly isDecodable: true;
|
|
219
|
+
readonly cp850: {
|
|
220
|
+
readonly id: "cp850";
|
|
221
|
+
readonly groupId: "western";
|
|
238
222
|
readonly decoderId: null;
|
|
239
223
|
};
|
|
240
|
-
readonly
|
|
241
|
-
readonly id: "
|
|
242
|
-
readonly groupId: "
|
|
243
|
-
readonly
|
|
244
|
-
|
|
224
|
+
readonly cp852: {
|
|
225
|
+
readonly id: "cp852";
|
|
226
|
+
readonly groupId: "centralEuropean";
|
|
227
|
+
readonly decoderId: null;
|
|
228
|
+
};
|
|
229
|
+
readonly cp856: {
|
|
230
|
+
readonly id: "cp856";
|
|
231
|
+
readonly groupId: "hebrew";
|
|
245
232
|
readonly decoderId: null;
|
|
246
233
|
};
|
|
247
|
-
readonly
|
|
248
|
-
readonly id: "
|
|
234
|
+
readonly cp857: {
|
|
235
|
+
readonly id: "cp857";
|
|
236
|
+
readonly groupId: "turkish";
|
|
237
|
+
readonly decoderId: null;
|
|
238
|
+
};
|
|
239
|
+
readonly cp858: {
|
|
240
|
+
readonly id: "cp858";
|
|
249
241
|
readonly groupId: "western";
|
|
250
|
-
readonly
|
|
251
|
-
readonly isDecodable: true;
|
|
252
|
-
readonly decoderId: "windows-1252";
|
|
242
|
+
readonly decoderId: null;
|
|
253
243
|
};
|
|
254
|
-
readonly
|
|
255
|
-
readonly id: "
|
|
256
|
-
readonly groupId: "
|
|
257
|
-
readonly isDetectable: true;
|
|
258
|
-
readonly isDecodable: true;
|
|
244
|
+
readonly cp860: {
|
|
245
|
+
readonly id: "cp860";
|
|
246
|
+
readonly groupId: "western";
|
|
259
247
|
readonly decoderId: null;
|
|
260
248
|
};
|
|
261
|
-
readonly
|
|
262
|
-
readonly id: "
|
|
263
|
-
readonly groupId: "
|
|
264
|
-
readonly isDetectable: false;
|
|
265
|
-
readonly isDecodable: true;
|
|
249
|
+
readonly cp861: {
|
|
250
|
+
readonly id: "cp861";
|
|
251
|
+
readonly groupId: "nordic";
|
|
266
252
|
readonly decoderId: null;
|
|
267
253
|
};
|
|
268
|
-
readonly
|
|
269
|
-
readonly id: "
|
|
270
|
-
readonly groupId: "
|
|
271
|
-
readonly isDetectable: false;
|
|
272
|
-
readonly isDecodable: true;
|
|
254
|
+
readonly cp862: {
|
|
255
|
+
readonly id: "cp862";
|
|
256
|
+
readonly groupId: "hebrew";
|
|
273
257
|
readonly decoderId: null;
|
|
274
258
|
};
|
|
275
|
-
readonly
|
|
276
|
-
readonly id: "
|
|
277
|
-
readonly groupId: "
|
|
278
|
-
readonly isDetectable: true;
|
|
279
|
-
readonly isDecodable: true;
|
|
259
|
+
readonly cp863: {
|
|
260
|
+
readonly id: "cp863";
|
|
261
|
+
readonly groupId: "western";
|
|
280
262
|
readonly decoderId: null;
|
|
281
263
|
};
|
|
282
|
-
readonly
|
|
283
|
-
readonly id: "
|
|
264
|
+
readonly cp864: {
|
|
265
|
+
readonly id: "cp864";
|
|
284
266
|
readonly groupId: "arabic";
|
|
285
|
-
readonly isDetectable: true;
|
|
286
|
-
readonly isDecodable: true;
|
|
287
267
|
readonly decoderId: null;
|
|
288
268
|
};
|
|
289
|
-
readonly
|
|
290
|
-
readonly id: "
|
|
269
|
+
readonly cp865: {
|
|
270
|
+
readonly id: "cp865";
|
|
271
|
+
readonly groupId: "nordic";
|
|
272
|
+
readonly decoderId: null;
|
|
273
|
+
};
|
|
274
|
+
readonly cp869: {
|
|
275
|
+
readonly id: "cp869";
|
|
291
276
|
readonly groupId: "greek";
|
|
292
|
-
readonly isDetectable: true;
|
|
293
|
-
readonly isDecodable: true;
|
|
294
277
|
readonly decoderId: null;
|
|
295
278
|
};
|
|
296
|
-
readonly
|
|
297
|
-
readonly id: "
|
|
298
|
-
readonly groupId: "
|
|
299
|
-
readonly
|
|
300
|
-
|
|
279
|
+
readonly CP874: {
|
|
280
|
+
readonly id: "CP874";
|
|
281
|
+
readonly groupId: "thai";
|
|
282
|
+
readonly decoderId: "windows-874";
|
|
283
|
+
};
|
|
284
|
+
readonly cp875: {
|
|
285
|
+
readonly id: "cp875";
|
|
286
|
+
readonly groupId: "greek";
|
|
287
|
+
readonly decoderId: null;
|
|
288
|
+
};
|
|
289
|
+
readonly CP932: {
|
|
290
|
+
readonly id: "CP932";
|
|
291
|
+
readonly groupId: "japanese";
|
|
292
|
+
readonly decoderId: "shift_jis";
|
|
293
|
+
};
|
|
294
|
+
readonly CP949: {
|
|
295
|
+
readonly id: "CP949";
|
|
296
|
+
readonly groupId: "korean";
|
|
297
|
+
readonly decoderId: "euc-kr";
|
|
298
|
+
};
|
|
299
|
+
readonly cp1006: {
|
|
300
|
+
readonly id: "cp1006";
|
|
301
|
+
readonly groupId: "arabic";
|
|
301
302
|
readonly decoderId: null;
|
|
302
303
|
};
|
|
303
|
-
readonly
|
|
304
|
-
readonly id: "
|
|
304
|
+
readonly cp1026: {
|
|
305
|
+
readonly id: "cp1026";
|
|
305
306
|
readonly groupId: "turkish";
|
|
306
|
-
readonly
|
|
307
|
-
readonly isDecodable: true;
|
|
308
|
-
readonly decoderId: "windows-1254";
|
|
307
|
+
readonly decoderId: null;
|
|
309
308
|
};
|
|
310
|
-
readonly
|
|
311
|
-
readonly id: "
|
|
312
|
-
readonly groupId: "
|
|
313
|
-
readonly isDetectable: false;
|
|
314
|
-
readonly isDecodable: true;
|
|
309
|
+
readonly cp1125: {
|
|
310
|
+
readonly id: "cp1125";
|
|
311
|
+
readonly groupId: "cyrillic";
|
|
315
312
|
readonly decoderId: null;
|
|
316
313
|
};
|
|
317
|
-
readonly
|
|
318
|
-
readonly id: "
|
|
319
|
-
readonly groupId: "
|
|
320
|
-
readonly
|
|
321
|
-
readonly isDecodable: true;
|
|
322
|
-
readonly decoderId: "windows-874";
|
|
314
|
+
readonly cp1140: {
|
|
315
|
+
readonly id: "cp1140";
|
|
316
|
+
readonly groupId: "western";
|
|
317
|
+
readonly decoderId: null;
|
|
323
318
|
};
|
|
324
|
-
readonly
|
|
325
|
-
readonly id: "
|
|
326
|
-
readonly groupId: "
|
|
327
|
-
readonly
|
|
328
|
-
|
|
319
|
+
readonly cp1258: {
|
|
320
|
+
readonly id: "cp1258";
|
|
321
|
+
readonly groupId: "vietnamese";
|
|
322
|
+
readonly decoderId: "windows-1258";
|
|
323
|
+
};
|
|
324
|
+
readonly 'EUC-JP': {
|
|
325
|
+
readonly id: "EUC-JP";
|
|
326
|
+
readonly groupId: "japanese";
|
|
327
|
+
readonly decoderId: "euc-jp";
|
|
328
|
+
};
|
|
329
|
+
readonly 'EUC-KR': {
|
|
330
|
+
readonly id: "EUC-KR";
|
|
331
|
+
readonly groupId: "korean";
|
|
332
|
+
readonly decoderId: "euc-kr";
|
|
333
|
+
};
|
|
334
|
+
readonly GB18030: {
|
|
335
|
+
readonly id: "GB18030";
|
|
336
|
+
readonly groupId: "chineseSimplified";
|
|
337
|
+
readonly decoderId: "gb18030";
|
|
338
|
+
};
|
|
339
|
+
readonly 'hp-roman8': {
|
|
340
|
+
readonly id: "hp-roman8";
|
|
341
|
+
readonly groupId: "western";
|
|
329
342
|
readonly decoderId: null;
|
|
330
343
|
};
|
|
331
|
-
readonly '
|
|
332
|
-
readonly id: "
|
|
333
|
-
readonly groupId: "
|
|
334
|
-
readonly
|
|
335
|
-
|
|
344
|
+
readonly 'HZ-GB-2312': {
|
|
345
|
+
readonly id: "HZ-GB-2312";
|
|
346
|
+
readonly groupId: "chineseSimplified";
|
|
347
|
+
readonly decoderId: null;
|
|
348
|
+
};
|
|
349
|
+
readonly IBM855: {
|
|
350
|
+
readonly id: "IBM855";
|
|
351
|
+
readonly groupId: "cyrillic";
|
|
352
|
+
readonly decoderId: null;
|
|
353
|
+
};
|
|
354
|
+
readonly IBM866: {
|
|
355
|
+
readonly id: "IBM866";
|
|
356
|
+
readonly groupId: "cyrillic";
|
|
357
|
+
readonly decoderId: "ibm866";
|
|
358
|
+
};
|
|
359
|
+
readonly 'ISO-2022-JP': {
|
|
360
|
+
readonly id: "ISO-2022-JP";
|
|
361
|
+
readonly groupId: "japanese";
|
|
362
|
+
readonly decoderId: "iso-2022-jp";
|
|
363
|
+
};
|
|
364
|
+
readonly 'ISO-2022-KR': {
|
|
365
|
+
readonly id: "ISO-2022-KR";
|
|
366
|
+
readonly groupId: "korean";
|
|
336
367
|
readonly decoderId: null;
|
|
337
368
|
};
|
|
338
|
-
readonly '
|
|
339
|
-
readonly id: "
|
|
369
|
+
readonly 'ISO-8859-1': {
|
|
370
|
+
readonly id: "ISO-8859-1";
|
|
340
371
|
readonly groupId: "western";
|
|
341
|
-
readonly
|
|
342
|
-
|
|
372
|
+
readonly decoderId: "windows-1252";
|
|
373
|
+
};
|
|
374
|
+
readonly 'ISO-8859-2': {
|
|
375
|
+
readonly id: "ISO-8859-2";
|
|
376
|
+
readonly groupId: "centralEuropean";
|
|
377
|
+
readonly decoderId: "iso-8859-2";
|
|
378
|
+
};
|
|
379
|
+
readonly 'ISO-8859-5': {
|
|
380
|
+
readonly id: "ISO-8859-5";
|
|
381
|
+
readonly groupId: "cyrillic";
|
|
382
|
+
readonly decoderId: "iso-8859-5";
|
|
383
|
+
};
|
|
384
|
+
readonly 'ISO-8859-6': {
|
|
385
|
+
readonly id: "ISO-8859-6";
|
|
386
|
+
readonly groupId: "arabic";
|
|
387
|
+
readonly decoderId: "iso-8859-6";
|
|
388
|
+
};
|
|
389
|
+
readonly 'ISO-8859-7': {
|
|
390
|
+
readonly id: "ISO-8859-7";
|
|
391
|
+
readonly groupId: "greek";
|
|
392
|
+
readonly decoderId: "iso-8859-7";
|
|
393
|
+
};
|
|
394
|
+
readonly 'ISO-8859-8': {
|
|
395
|
+
readonly id: "ISO-8859-8";
|
|
396
|
+
readonly groupId: "hebrew";
|
|
397
|
+
readonly decoderId: "iso-8859-8-i";
|
|
398
|
+
};
|
|
399
|
+
readonly 'ISO-8859-9': {
|
|
400
|
+
readonly id: "ISO-8859-9";
|
|
401
|
+
readonly groupId: "turkish";
|
|
402
|
+
readonly decoderId: "windows-1254";
|
|
403
|
+
};
|
|
404
|
+
readonly 'ISO-8859-13': {
|
|
405
|
+
readonly id: "ISO-8859-13";
|
|
406
|
+
readonly groupId: "baltic";
|
|
407
|
+
readonly decoderId: "iso-8859-13";
|
|
408
|
+
};
|
|
409
|
+
readonly iso2022_jp_2004: {
|
|
410
|
+
readonly id: "iso2022_jp_2004";
|
|
411
|
+
readonly groupId: "japanese";
|
|
412
|
+
readonly decoderId: null;
|
|
413
|
+
};
|
|
414
|
+
readonly iso2022_jp_ext: {
|
|
415
|
+
readonly id: "iso2022_jp_ext";
|
|
416
|
+
readonly groupId: "japanese";
|
|
343
417
|
readonly decoderId: null;
|
|
344
418
|
};
|
|
345
|
-
readonly '
|
|
346
|
-
readonly id: "
|
|
419
|
+
readonly 'iso8859-3': {
|
|
420
|
+
readonly id: "iso8859-3";
|
|
421
|
+
readonly groupId: "southernEuropean";
|
|
422
|
+
readonly decoderId: "iso-8859-3";
|
|
423
|
+
};
|
|
424
|
+
readonly 'iso8859-4': {
|
|
425
|
+
readonly id: "iso8859-4";
|
|
426
|
+
readonly groupId: "baltic";
|
|
427
|
+
readonly decoderId: "iso-8859-4";
|
|
428
|
+
};
|
|
429
|
+
readonly 'iso8859-10': {
|
|
430
|
+
readonly id: "iso8859-10";
|
|
431
|
+
readonly groupId: "nordic";
|
|
432
|
+
readonly decoderId: "iso-8859-10";
|
|
433
|
+
};
|
|
434
|
+
readonly 'iso8859-14': {
|
|
435
|
+
readonly id: "iso8859-14";
|
|
436
|
+
readonly groupId: "celtic";
|
|
437
|
+
readonly decoderId: "iso-8859-14";
|
|
438
|
+
};
|
|
439
|
+
readonly 'iso8859-15': {
|
|
440
|
+
readonly id: "iso8859-15";
|
|
441
|
+
readonly groupId: "western";
|
|
442
|
+
readonly decoderId: "iso-8859-15";
|
|
443
|
+
};
|
|
444
|
+
readonly 'iso8859-16': {
|
|
445
|
+
readonly id: "iso8859-16";
|
|
347
446
|
readonly groupId: "romanian";
|
|
348
|
-
readonly
|
|
349
|
-
|
|
447
|
+
readonly decoderId: "iso-8859-16";
|
|
448
|
+
};
|
|
449
|
+
readonly Johab: {
|
|
450
|
+
readonly id: "Johab";
|
|
451
|
+
readonly groupId: "korean";
|
|
350
452
|
readonly decoderId: null;
|
|
351
453
|
};
|
|
352
|
-
readonly '
|
|
353
|
-
readonly id: "
|
|
454
|
+
readonly 'KOI8-R': {
|
|
455
|
+
readonly id: "KOI8-R";
|
|
456
|
+
readonly groupId: "cyrillic";
|
|
457
|
+
readonly decoderId: "koi8-r";
|
|
458
|
+
};
|
|
459
|
+
readonly 'koi8-t': {
|
|
460
|
+
readonly id: "koi8-t";
|
|
354
461
|
readonly groupId: "cyrillic";
|
|
355
|
-
readonly isDetectable: true;
|
|
356
|
-
readonly isDecodable: true;
|
|
357
462
|
readonly decoderId: null;
|
|
358
463
|
};
|
|
359
464
|
readonly 'koi8-u': {
|
|
360
465
|
readonly id: "koi8-u";
|
|
361
466
|
readonly groupId: "cyrillic";
|
|
362
|
-
readonly
|
|
363
|
-
|
|
467
|
+
readonly decoderId: "koi8-u";
|
|
468
|
+
};
|
|
469
|
+
readonly KZ1048: {
|
|
470
|
+
readonly id: "KZ1048";
|
|
471
|
+
readonly groupId: "cyrillic";
|
|
364
472
|
readonly decoderId: null;
|
|
365
473
|
};
|
|
366
|
-
readonly
|
|
367
|
-
readonly id: "
|
|
368
|
-
readonly groupId: "
|
|
369
|
-
readonly
|
|
370
|
-
|
|
371
|
-
|
|
474
|
+
readonly MacCyrillic: {
|
|
475
|
+
readonly id: "MacCyrillic";
|
|
476
|
+
readonly groupId: "cyrillic";
|
|
477
|
+
readonly decoderId: "x-mac-cyrillic";
|
|
478
|
+
};
|
|
479
|
+
readonly MacGreek: {
|
|
480
|
+
readonly id: "MacGreek";
|
|
481
|
+
readonly groupId: "greek";
|
|
482
|
+
readonly decoderId: null;
|
|
483
|
+
};
|
|
484
|
+
readonly MacIceland: {
|
|
485
|
+
readonly id: "MacIceland";
|
|
486
|
+
readonly groupId: "nordic";
|
|
487
|
+
readonly decoderId: null;
|
|
372
488
|
};
|
|
373
|
-
readonly
|
|
374
|
-
readonly id: "
|
|
489
|
+
readonly MacLatin2: {
|
|
490
|
+
readonly id: "MacLatin2";
|
|
491
|
+
readonly groupId: "centralEuropean";
|
|
492
|
+
readonly decoderId: null;
|
|
493
|
+
};
|
|
494
|
+
readonly MacRoman: {
|
|
495
|
+
readonly id: "MacRoman";
|
|
375
496
|
readonly groupId: "western";
|
|
376
|
-
readonly
|
|
377
|
-
|
|
497
|
+
readonly decoderId: "macintosh";
|
|
498
|
+
};
|
|
499
|
+
readonly MacTurkish: {
|
|
500
|
+
readonly id: "MacTurkish";
|
|
501
|
+
readonly groupId: "turkish";
|
|
378
502
|
readonly decoderId: null;
|
|
379
503
|
};
|
|
380
|
-
readonly
|
|
381
|
-
readonly id: "
|
|
382
|
-
readonly groupId: "
|
|
383
|
-
readonly isDetectable: true;
|
|
384
|
-
readonly isDecodable: true;
|
|
504
|
+
readonly ptcp154: {
|
|
505
|
+
readonly id: "ptcp154";
|
|
506
|
+
readonly groupId: "cyrillic";
|
|
385
507
|
readonly decoderId: null;
|
|
386
508
|
};
|
|
387
|
-
readonly
|
|
388
|
-
readonly id: "
|
|
509
|
+
readonly SHIFT_JIS: {
|
|
510
|
+
readonly id: "SHIFT_JIS";
|
|
511
|
+
readonly groupId: "japanese";
|
|
512
|
+
readonly decoderId: "shift_jis";
|
|
513
|
+
};
|
|
514
|
+
readonly 'TIS-620': {
|
|
515
|
+
readonly id: "TIS-620";
|
|
389
516
|
readonly groupId: "thai";
|
|
390
|
-
readonly isDetectable: false;
|
|
391
|
-
readonly isDecodable: true;
|
|
392
517
|
readonly decoderId: "windows-874";
|
|
393
518
|
};
|
|
394
|
-
readonly 'utf-
|
|
395
|
-
readonly id: "utf-
|
|
396
|
-
readonly groupId: "
|
|
397
|
-
readonly
|
|
398
|
-
|
|
399
|
-
|
|
519
|
+
readonly 'utf-7': {
|
|
520
|
+
readonly id: "utf-7";
|
|
521
|
+
readonly groupId: "other";
|
|
522
|
+
readonly decoderId: null;
|
|
523
|
+
};
|
|
524
|
+
readonly 'utf-8': {
|
|
525
|
+
readonly id: "utf-8";
|
|
526
|
+
readonly groupId: null;
|
|
527
|
+
readonly decoderId: "utf-8";
|
|
400
528
|
};
|
|
401
|
-
readonly '
|
|
402
|
-
readonly id: "
|
|
529
|
+
readonly 'UTF-8-SIG': {
|
|
530
|
+
readonly id: "UTF-8-SIG";
|
|
531
|
+
readonly groupId: null;
|
|
532
|
+
readonly decoderId: "utf-8";
|
|
533
|
+
};
|
|
534
|
+
readonly 'UTF-16': {
|
|
535
|
+
readonly id: "UTF-16";
|
|
403
536
|
readonly groupId: "unicode16";
|
|
404
|
-
readonly isDetectable: true;
|
|
405
|
-
readonly isDecodable: true;
|
|
406
537
|
readonly decoderId: null;
|
|
407
538
|
};
|
|
408
|
-
readonly 'utf-
|
|
409
|
-
readonly id: "utf-
|
|
539
|
+
readonly 'utf-16-be': {
|
|
540
|
+
readonly id: "utf-16-be";
|
|
410
541
|
readonly groupId: "unicode16";
|
|
411
|
-
readonly
|
|
412
|
-
|
|
413
|
-
|
|
542
|
+
readonly decoderId: "utf-16be";
|
|
543
|
+
};
|
|
544
|
+
readonly 'utf-16-le': {
|
|
545
|
+
readonly id: "utf-16-le";
|
|
546
|
+
readonly groupId: "unicode16";
|
|
547
|
+
readonly decoderId: "utf-16le";
|
|
414
548
|
};
|
|
415
|
-
readonly '
|
|
416
|
-
readonly id: "
|
|
549
|
+
readonly 'UTF-32': {
|
|
550
|
+
readonly id: "UTF-32";
|
|
417
551
|
readonly groupId: "unicode32";
|
|
418
|
-
readonly isDetectable: true;
|
|
419
|
-
readonly isDecodable: false;
|
|
420
552
|
readonly decoderId: null;
|
|
421
553
|
};
|
|
422
|
-
readonly 'utf-
|
|
423
|
-
readonly id: "utf-
|
|
554
|
+
readonly 'utf-32-be': {
|
|
555
|
+
readonly id: "utf-32-be";
|
|
424
556
|
readonly groupId: "unicode32";
|
|
425
|
-
readonly isDetectable: true;
|
|
426
|
-
readonly isDecodable: false;
|
|
427
557
|
readonly decoderId: null;
|
|
428
558
|
};
|
|
429
|
-
readonly 'utf-
|
|
430
|
-
readonly id: "utf-
|
|
431
|
-
readonly groupId:
|
|
432
|
-
readonly isDetectable: true;
|
|
433
|
-
readonly isDecodable: true;
|
|
559
|
+
readonly 'utf-32-le': {
|
|
560
|
+
readonly id: "utf-32-le";
|
|
561
|
+
readonly groupId: "unicode32";
|
|
434
562
|
readonly decoderId: null;
|
|
435
563
|
};
|
|
436
|
-
readonly '
|
|
437
|
-
readonly id: "
|
|
564
|
+
readonly 'Windows-1250': {
|
|
565
|
+
readonly id: "Windows-1250";
|
|
438
566
|
readonly groupId: "centralEuropean";
|
|
439
|
-
readonly
|
|
440
|
-
readonly isDecodable: true;
|
|
441
|
-
readonly decoderId: null;
|
|
567
|
+
readonly decoderId: "windows-1250";
|
|
442
568
|
};
|
|
443
|
-
readonly '
|
|
444
|
-
readonly id: "
|
|
569
|
+
readonly 'Windows-1251': {
|
|
570
|
+
readonly id: "Windows-1251";
|
|
445
571
|
readonly groupId: "cyrillic";
|
|
446
|
-
readonly
|
|
447
|
-
readonly isDecodable: true;
|
|
448
|
-
readonly decoderId: null;
|
|
572
|
+
readonly decoderId: "windows-1251";
|
|
449
573
|
};
|
|
450
|
-
readonly '
|
|
451
|
-
readonly id: "
|
|
574
|
+
readonly 'Windows-1252': {
|
|
575
|
+
readonly id: "Windows-1252";
|
|
452
576
|
readonly groupId: "western";
|
|
453
|
-
readonly
|
|
454
|
-
readonly isDecodable: true;
|
|
455
|
-
readonly decoderId: null;
|
|
577
|
+
readonly decoderId: "windows-1252";
|
|
456
578
|
};
|
|
457
|
-
readonly '
|
|
458
|
-
readonly id: "
|
|
579
|
+
readonly 'Windows-1253': {
|
|
580
|
+
readonly id: "Windows-1253";
|
|
459
581
|
readonly groupId: "greek";
|
|
460
|
-
readonly
|
|
461
|
-
readonly isDecodable: true;
|
|
462
|
-
readonly decoderId: null;
|
|
582
|
+
readonly decoderId: "windows-1253";
|
|
463
583
|
};
|
|
464
|
-
readonly '
|
|
465
|
-
readonly id: "
|
|
584
|
+
readonly 'Windows-1254': {
|
|
585
|
+
readonly id: "Windows-1254";
|
|
466
586
|
readonly groupId: "turkish";
|
|
467
|
-
readonly
|
|
468
|
-
readonly isDecodable: true;
|
|
469
|
-
readonly decoderId: null;
|
|
587
|
+
readonly decoderId: "windows-1254";
|
|
470
588
|
};
|
|
471
|
-
readonly '
|
|
472
|
-
readonly id: "
|
|
589
|
+
readonly 'Windows-1255': {
|
|
590
|
+
readonly id: "Windows-1255";
|
|
473
591
|
readonly groupId: "hebrew";
|
|
474
|
-
readonly
|
|
475
|
-
readonly isDecodable: true;
|
|
476
|
-
readonly decoderId: null;
|
|
592
|
+
readonly decoderId: "windows-1255";
|
|
477
593
|
};
|
|
478
|
-
readonly '
|
|
479
|
-
readonly id: "
|
|
594
|
+
readonly 'Windows-1256': {
|
|
595
|
+
readonly id: "Windows-1256";
|
|
480
596
|
readonly groupId: "arabic";
|
|
481
|
-
readonly
|
|
482
|
-
readonly isDecodable: true;
|
|
483
|
-
readonly decoderId: null;
|
|
597
|
+
readonly decoderId: "windows-1256";
|
|
484
598
|
};
|
|
485
|
-
readonly '
|
|
486
|
-
readonly id: "
|
|
599
|
+
readonly 'Windows-1257': {
|
|
600
|
+
readonly id: "Windows-1257";
|
|
487
601
|
readonly groupId: "baltic";
|
|
488
|
-
readonly
|
|
489
|
-
readonly isDecodable: true;
|
|
490
|
-
readonly decoderId: null;
|
|
491
|
-
};
|
|
492
|
-
readonly 'windows-1258': {
|
|
493
|
-
readonly id: "windows-1258";
|
|
494
|
-
readonly groupId: "vietnamese";
|
|
495
|
-
readonly isDetectable: true;
|
|
496
|
-
readonly isDecodable: true;
|
|
497
|
-
readonly decoderId: null;
|
|
498
|
-
};
|
|
499
|
-
readonly 'windows-874': {
|
|
500
|
-
readonly id: "windows-874";
|
|
501
|
-
readonly groupId: "thai";
|
|
502
|
-
readonly isDetectable: true;
|
|
503
|
-
readonly isDecodable: true;
|
|
504
|
-
readonly decoderId: null;
|
|
505
|
-
};
|
|
506
|
-
readonly 'x-mac-cyrillic': {
|
|
507
|
-
readonly id: "x-mac-cyrillic";
|
|
508
|
-
readonly groupId: "cyrillic";
|
|
509
|
-
readonly isDetectable: false;
|
|
510
|
-
readonly isDecodable: true;
|
|
511
|
-
readonly decoderId: null;
|
|
512
|
-
};
|
|
513
|
-
readonly 'x-user-defined': {
|
|
514
|
-
readonly id: "x-user-defined";
|
|
515
|
-
readonly groupId: "other";
|
|
516
|
-
readonly isDetectable: false;
|
|
517
|
-
readonly isDecodable: true;
|
|
518
|
-
readonly decoderId: null;
|
|
602
|
+
readonly decoderId: "windows-1257";
|
|
519
603
|
};
|
|
520
604
|
};
|
|
521
605
|
export declare const ENCODING_GROUP_CONFIG_MAP: Record<EncodingGroupId, EncodingGroupConfig>;
|
|
522
606
|
export declare const ENCODING_TYPE_CONFIG_MAP: Record<EncodingTypeId, EncodingTypeConfig>;
|
|
523
607
|
export declare function isEncodingTypeId(value: string): value is EncodingTypeId;
|
|
608
|
+
export declare function resolveDecoderId(encodingId: string): string;
|
|
524
609
|
export declare function getEncodingTypeConfigs(localeId?: LocaleId): EncodingTypeConfigLocalised[];
|
|
525
610
|
export {};
|