Lines Matching refs:encoding
14 { encoding: 'utf-8', input: [0xFF], name: 'invalid code' }, property
15 { encoding: 'utf-8', input: [0xC0], name: 'ends early' }, property
16 { encoding: 'utf-8', input: [0xE0], name: 'ends early 2' }, property
17 { encoding: 'utf-8', input: [0xC0, 0x00], name: 'invalid trail' }, property
18 { encoding: 'utf-8', input: [0xC0, 0xC0], name: 'invalid trail 2' }, property
19 { encoding: 'utf-8', input: [0xE0, 0x00], name: 'invalid trail 3' }, property
20 { encoding: 'utf-8', input: [0xE0, 0xC0], name: 'invalid trail 4' }, property
21 { encoding: 'utf-8', input: [0xE0, 0x80, 0x00], name: 'invalid trail 5' }, property
22 { encoding: 'utf-8', input: [0xE0, 0x80, 0xC0], name: 'invalid trail 6' }, property
23 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x80, 0x80], property
25 { encoding: 'utf-8', input: [0xFE, 0x80, 0x80, 0x80, 0x80, 0x80], property
28 { encoding: 'utf-8', input: [0xC0, 0x80], name: 'overlong U+0000 - 2 bytes' }, property
29 { encoding: 'utf-8', input: [0xE0, 0x80, 0x80], property
31 { encoding: 'utf-8', input: [0xF0, 0x80, 0x80, 0x80], property
33 { encoding: 'utf-8', input: [0xF8, 0x80, 0x80, 0x80, 0x80], property
35 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x80, 0x80], property
37 { encoding: 'utf-8', input: [0xC1, 0xBF], name: 'overlong U+007F - 2 bytes' }, property
38 { encoding: 'utf-8', input: [0xE0, 0x81, 0xBF], property
40 { encoding: 'utf-8', input: [0xF0, 0x80, 0x81, 0xBF], property
42 { encoding: 'utf-8', input: [0xF8, 0x80, 0x80, 0x81, 0xBF], property
44 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x81, 0xBF], property
46 { encoding: 'utf-8', input: [0xE0, 0x9F, 0xBF], property
48 { encoding: 'utf-8', input: [0xF0, 0x80, 0x9F, 0xBF], property
50 { encoding: 'utf-8', input: [0xF8, 0x80, 0x80, 0x9F, 0xBF], property
52 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x9F, 0xBF], property
54 { encoding: 'utf-8', input: [0xF0, 0x8F, 0xBF, 0xBF], property
56 { encoding: 'utf-8', input: [0xF8, 0x80, 0x8F, 0xBF, 0xBF], property
58 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x8F, 0xBF, 0xBF], property
60 { encoding: 'utf-8', input: [0xF8, 0x84, 0x8F, 0xBF, 0xBF], property
62 { encoding: 'utf-8', input: [0xFC, 0x80, 0x84, 0x8F, 0xBF, 0xBF], property
65 { encoding: 'utf-8', input: [0xED, 0xA0, 0x80], name: 'lead surrogate' }, property
66 { encoding: 'utf-8', input: [0xED, 0xB0, 0x80], name: 'trail surrogate' }, property
67 { encoding: 'utf-8', input: [0xED, 0xA0, 0x80, 0xED, 0xB0, 0x80], property
69 { encoding: 'utf-16le', input: [0x00], name: 'truncated code unit' }, property
77 new TextDecoder(t.encoding, { fatal: true })