Currently NtExecutableResource.ts
always resets the codepage to 0:
// codepage
view.setUint32(o + 8, 0, true);
Current output:
$ node main.js
original:
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252
updated:
0
0
0
0
0
0
0
0
0
0
0
Expected output:
$ node main.js
original:
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252
updated:
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252
1252