Skip to content

Commit 0426405

Browse files
fix: bug with unicode characters (#196)
1 parent 5ecf7da commit 0426405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hash/wasm-hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class WasmHash {
8282
endPos += 2;
8383
} else {
8484
// bail-out for weird chars
85-
endPos += mem.write(data.slice(endPos), endPos, encoding);
85+
endPos += mem.write(data.slice(i), endPos, encoding);
8686
break;
8787
}
8888
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy