Handling Zip Entry Name's Encoding in NodejsHandling Zip Entry Name's Encoding in NodejsHandling Zip Entry Name's Encoding in Nodejs

2021::01::27
1 min
AUTHOR:Z.SHINCHVEN

It's simple when you find the right package:compressing

Install

npm install compressing

Unzip With Encoding

const compressing = require('compressing');

const result = await compressing.zip.uncompress(file, unpackDir, {
  zipFileNameEncoding: 'GBK'
});
RackNerd Billboard Banner
Share Node:

RELATED_DATA_STREAMS

SCANNING_DATABASE_FOR_CORRELATIONS...