MCPcopy Create free account
hub / github.com/Stuk/jszip / decodeCP866

Function decodeCP866

test/asserts/unicode.js:94–100  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

92 };
93
94 function decodeCP866(bytes) {
95 for(var text in conversions) {
96 if (conversions[text].length === bytes.length) {
97 return text;
98 }
99 }
100 }
101
102 function encodeCP866(string) {
103 return conversions[string];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected