From 41cc307e2d85eeb1915a587834ac67989ec16c1d Mon Sep 17 00:00:00 2001 From: Mitkalev Aleksandr Date: Mon, 27 Jul 2020 15:46:17 +0300 Subject: [PATCH] Fix encoding wb.WBProps.CodeName --- bits/72_wbxml.js | 2 +- xlsx.flow.js | 2 +- xlsx.js | 2 +- xlsx.mini.flow.js | 2 +- xlsx.mini.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bits/72_wbxml.js b/bits/72_wbxml.js index 0189b32..fc9d424 100644 --- a/bits/72_wbxml.js +++ b/bits/72_wbxml.js @@ -37,7 +37,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ { default: wb.WBProps[w[0]] = y[w[0]]; } }); - if(y.codeName) wb.WBProps.CodeName = y.codeName; + if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName); break; case '': break; diff --git a/xlsx.flow.js b/xlsx.flow.js index fcc396d..2d82634 100644 --- a/xlsx.flow.js +++ b/xlsx.flow.js @@ -15140,7 +15140,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ { default: wb.WBProps[w[0]] = y[w[0]]; } }); - if(y.codeName) wb.WBProps.CodeName = y.codeName; + if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName); break; case '': break; diff --git a/xlsx.js b/xlsx.js index e8c01ec..883c44e 100644 --- a/xlsx.js +++ b/xlsx.js @@ -15037,7 +15037,7 @@ function parse_wb_xml(data, opts) { default: wb.WBProps[w[0]] = y[w[0]]; } }); - if(y.codeName) wb.WBProps.CodeName = y.codeName; + if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName); break; case '': break; diff --git a/xlsx.mini.flow.js b/xlsx.mini.flow.js index 570dee6..fba4d9d 100644 --- a/xlsx.mini.flow.js +++ b/xlsx.mini.flow.js @@ -8153,7 +8153,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ { default: wb.WBProps[w[0]] = y[w[0]]; } }); - if(y.codeName) wb.WBProps.CodeName = y.codeName; + if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName); break; case '': break; diff --git a/xlsx.mini.js b/xlsx.mini.js index 6db6da0..4a333bb 100644 --- a/xlsx.mini.js +++ b/xlsx.mini.js @@ -8062,7 +8062,7 @@ function parse_wb_xml(data, opts) { default: wb.WBProps[w[0]] = y[w[0]]; } }); - if(y.codeName) wb.WBProps.CodeName = y.codeName; + if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName); break; case '': break;