Commit 63cd05b
src: fix ParseEncoding
"utf-16LE" was parsed "UNKNOWN", this fixes to "UCS2"
"utf-buffer" was parsed "BUFFER", this fixes to "UNKNOWN"
"utf-16leNOT" was parsed "UCS2", this fixes to "UNKNOWN"
PR-URL: #33957
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 6ee800f commit 63cd05bCopy full SHA for 63cd05b
File tree
Expand file treeCollapse file tree
3 files changed
+65
-47
lines changedOpen diff view settings
Filter options
- src
- api
- test/addons/parse-encoding
Expand file treeCollapse file tree
3 files changed
+65
-47
lines changedOpen diff view settings
Collapse file
+58-41Lines changed: 58 additions & 41 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
20 | | - |
21 | | - |
| 21 | + |
| 22 | + |
22 | 23 | |
23 | | - |
| 24 | + |
24 | 25 | |
25 | | - |
26 | 26 | |
27 | 27 | |
28 | | - |
29 | | - |
| 28 | + |
| 29 | + |
30 | 30 | |
31 | 31 | |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
32 | 44 | |
| 45 | + |
33 | 46 | |
| 47 | + |
34 | 48 | |
35 | 49 | |
36 | | - |
| 50 | + |
37 | 51 | |
38 | 52 | |
| 53 | + |
| 54 | + |
39 | 55 | |
| 56 | + |
40 | 57 | |
41 | | - |
| 58 | + |
| 59 | + |
42 | 60 | |
43 | | - |
| 61 | + |
44 | 62 | |
45 | | - |
46 | 63 | |
47 | 64 | |
48 | | - |
| 65 | + |
49 | 66 | |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
50 | 71 | |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
51 | 78 | |
52 | | - |
53 | | - |
54 | | - |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
55 | 89 | |
56 | | - |
57 | 90 | |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
84 | 100 | |
| 101 | + |
85 | 102 | |
86 | 103 | |
87 | 104 | |
|
Collapse file
+4-6Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
299 | 299 | |
300 | 300 | |
301 | 301 | |
302 | | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
308 | 306 | |
309 | 307 | |
310 | 308 | |
|
Collapse file
test/addons/parse-encoding/test.js
Copy file name to clipboardExpand all lines: test/addons/parse-encoding/test.js+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
| 18 | + |
| 19 | + |
17 | 20 | |
18 | 21 | |
19 | 22 | |
0 commit comments