101arrowz 4 lat temu
rodzic
commit
fe022f9e3f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -243,7 +243,7 @@ const zipped = fflate.zipSync({
   'dir1': {
   'dir1': {
     'nested': {
     'nested': {
       // You can use Unicode in filenames
       // You can use Unicode in filenames
-      '你好.txt': std('Hey there!')
+      '你好.txt': strToU8('Hey there!')
     },
     },
     // You can also manually write out a directory path
     // You can also manually write out a directory path
     'other/tmp.txt': new Uint8Array([97, 98, 99, 100])
     'other/tmp.txt': new Uint8Array([97, 98, 99, 100])