nodejs base64 解析 returns 一个意外的 zip 文件
nodejs base64 parse returns a unexpected zip file
我有一个 api,我在其中生成一个包含一些数据的 XLSX 文件,然后将其转换为 base64,然后 return 将其发送给客户端。
我在将 XLSX 转换为 Base64 时遇到问题,函数 returns 是 base64 中的字符串,但是当我使用 base64guru 或类似工具检查它时,它被转换为一个 zip 文件,并且XLSX完全丢失了。
我用的是典型的转base64的方法,没有什么奇怪的,就是转成zip,不知道为什么。
解析器代码如下:
const path = `./some_path/${randomName}.xlsx`;
XLSX.writeFile(workbook, path); //<<-- the file is generated and i can open it with excel and works
fine.
const base64String = fs.readFileSync(path).toString('base64'); //this return the base64 zip file :S
有谁知道为什么会这样,我该如何解决?
这里我放了一个base64生成的字符串:
UEsDBAoAAAAAAPOGalHWknwRWgEAAFoBAAARAAAAZG9jUHJvcHMvY29yZS54bWw8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCIgc3RhbmRhbG9uZT0ieWVzIj8+DQo8Y3A6Y29yZVByb3BlcnRpZXMgeG1sbnM6Y3A9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvbWV0YWRhdGEvY29yZS1wcm9wZXJ0aWVzIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOmRjdGVybXM9Imh0dHA6Ly9wdXJsLm9yZy9kYy90ZXJtcy8iIHhtbG5zOmRjbWl0eXBlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIi8+UEsDBAoAAAAAAPOGalGxLi/VMwIAADMCAAAQAAAAZG9jUHJvcHMvYXBwLnhtbDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJ5ZXMiPz4NCjxQc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AARAAAAAAAAAAAAAAAAAAAAAABkb2NQcm9wcy9jb3JlLnhtbFBLAQIUAAoAAAAAAPOGalGxLi/VMwIAADMCAAAQAAAAAAAAAAAAAAAAAIkBAABkb2NQcm9wcy9hcHAueG1sUEsBAhQACgAAAAAA84ZqUfwR/M3HBAAAxwQAABgAAAAAAAAAAAAAAAAA6gMAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbFBLAQIUAAoAAAAAAPOGalFHFBtxQwEAAEMBAAAPAAAAAAAAAAAAAAAAAOcIAAB4bC93b3JrYm9vay54bWxQSwECFAAKAAAAAADzhmpRMA+Ia94dAADeHQAAEwAAAAAAAAAAAAAAAABXCgAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAAoAAAAAAPOGalFV9ASUWgQAAFoEAAANAAAAAAAAAAAAAAAAAGYoAAB4bC9zdHlsZXMueG1sUEsBAhQACgAAAAAA84ZqUTbrlv2SBwAAkgcAABMAAAAAAAAAAAAAAAAA6ywAAFtDb250ZW50X1R5cGVzXS54bWxQSwECFAAKAAAAAADzhmpRSmoR+UwCAABMAgAACwAAAAAAAAAAAAAAAACuNAAAX3JlbHMvLnJlbHNQSwECFAAKAAAAAADzhmpR0D9k3S0CAAAtAgAAGgAAAAAAAAAAAAAAAAAjNwAAeGwvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwUGAAAAAAkACQA+AgAAiDkAAAAA
这里没有任何问题。您可以将解码后的 Base64 文件重命名为 .xlsx 并使用 Excel.
打开它
XLSX实际上是一个压缩文件,里面有一定的结构。
Office Open XML (also informally known as OOXML or Microsoft Open XML (MOX))[3] is a zipped, XML-based file format developed by Microsoft for representing spreadsheets, charts, presentations and word processing documents
(来源:https://en.wikipedia.org/wiki/Office_Open_XML)
base64网站最好识别文件格式,找到前4个字节
50 4b 03 04
("PK��")
将其标识为 ZIP file。(最初是 PKZIP,以创建者的首字母开头)
如果保留 .zip 扩展名,您可以使用任何解压缩工具或直接在 Windows 资源管理器中打开它以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AADeHQAAEwAAAAAAAAAAAAAAAABXCgAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAAoAAAAAAPOGalFV9ASUWgQAAFoEAAANAAAAAAAAAAAAAAAAAGYoAAB4bC9zdHlsZXMueG1sUEsBAhQACgAAAAAA84ZqUTbrlv2SBwAAkgcAABMAAAAAAAAAAAAAAAAA6ywAAFtDb250ZW50X1R5cGVzXS54bWxQSwECFAAKAAAAAADzhmpRSmoR+UwCAABMAgAACwAAAAAAAAAAAAAAAACuNAAAX3JlbHMvLnJlbHNQSwECFAAKAAAAAADzhmpR0D9k3S0CAAAtAgAAGgAAAAAAAAAAAAAAAAAjNwAAeGwvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwUGAAAAAAkACQA+AgAAiDkAAAAA'
var buf = Buffer.from(base64input, 'base64');
console.log(buf)
const header = buf.toString()
if (header.indexOf(" ContentType=\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\"") > 0)
console.log("Excel XSLX")
else if (header.indexOf(" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\"") > 0)
console.log("Word DOCX")
else if (header.indexOf("ContentType=\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\"") > 0)
console.log("PowerPoint PPTX")
我不能保证它会一直有效。对于问题中的示例,它可以工作,但是对于我 PC 上的 DOCX 文件,它却没有。我会尽快更新这个答案。
我有一个 api,我在其中生成一个包含一些数据的 XLSX 文件,然后将其转换为 base64,然后 return 将其发送给客户端。
我在将 XLSX 转换为 Base64 时遇到问题,函数 returns 是 base64 中的字符串,但是当我使用 base64guru 或类似工具检查它时,它被转换为一个 zip 文件,并且XLSX完全丢失了。
我用的是典型的转base64的方法,没有什么奇怪的,就是转成zip,不知道为什么。
解析器代码如下:
const path = `./some_path/${randomName}.xlsx`;
XLSX.writeFile(workbook, path); //<<-- the file is generated and i can open it with excel and works
fine.
const base64String = fs.readFileSync(path).toString('base64'); //this return the base64 zip file :S
有谁知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ABXCgAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAAoAAAAAAPOGalFV9ASUWgQAAFoEAAANAAAAAAAAAAAAAAAAAGYoAAB4bC9zdHlsZXMueG1sUEsBAhQACgAAAAAA84ZqUTbrlv2SBwAAkgcAABMAAAAAAAAAAAAAAAAA6ywAAFtDb250ZW50X1R5cGVzXS54bWxQSwECFAAKAAAAAADzhmpRSmoR+UwCAABMAgAACwAAAAAAAAAAAAAAAACuNAAAX3JlbHMvLnJlbHNQSwECFAAKAAAAAADzhmpR0D9k3S0CAAAtAgAAGgAAAAAAAAAAAAAAAAAjNwAAeGwvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwUGAAAAAAkACQA+AgAAiDkAAAAA
这里没有任何问题。您可以将解码后的 Base64 文件重命名为 .xlsx 并使用 Excel.
打开它XLSX实际上是一个压缩文件,里面有一定的结构。
Office Open XML (also informally known as OOXML or Microsoft Open XML (MOX))[3] is a zipped, XML-based file format developed by Microsoft for representing spreadsheets, charts, presentations and word processing documents
(来源:https://en.wikipedia.org/wiki/Office_Open_XML)
base64网站最好识别文件格式,找到前4个字节
50 4b 03 04
("PK��")
将其标识为 ZIP file。(最初是 PKZIP,以创建者的首字母开头)
如果保留 .zip 扩展名,您可以使用任何解压缩工具或直接在 Windows 资源管理器中打开它以查看其内部结构。
用几行 JavaScript 你可以 OpenXML/ZIP 文件的 identify the OpenXML content type:
var base64input = 'UEsDBAoAAAAAAPOGalHWknwRWgEAAFoBAAARAAAAZG9jUHJvcHMvY29yZS54bWw8P3htbCB2ZXJzaW9uPSIxLjAiIGVuY29kaW5nPSJVVEYtOCIgc3RhbmRhbG9uZT0ieWVzIj8+DQo8Y3A6Y29yZVByb3BlcnRpZXMgeG1sbnM6Y3A9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvbWV0YWRhdGEvY29yZS1wcm9wZXJ0aWVzIiB4bWxuczpkYz0iaHR0cD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wvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwUGAAAAAAkACQA+AgAAiDkAAAAA'
var buf = Buffer.from(base64input, 'base64');
console.log(buf)
const header = buf.toString()
if (header.indexOf(" ContentType=\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\"") > 0)
console.log("Excel XSLX")
else if (header.indexOf(" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\"") > 0)
console.log("Word DOCX")
else if (header.indexOf("ContentType=\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\"") > 0)
console.log("PowerPoint PPTX")
我不能保证它会一直有效。对于问题中的示例,它可以工作,但是对于我 PC 上的 DOCX 文件,它却没有。我会尽快更新这个答案。