From 14d1dc9af4f4a6b5b2a54fec700536e56c54890c Mon Sep 17 00:00:00 2001 From: "chen.s.g" Date: Wed, 30 Jan 2019 14:54:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DSST=E8=B7=A8=E5=9D=97?= =?UTF-8?q?=E5=B7=AE=E4=B8=80=E4=B8=AA=E5=AD=97=E6=9C=AA=E5=AF=B9=E9=BD=90?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workbook.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workbook.go b/workbook.go index 47b2438..dcabceb 100644 --- a/workbook.go +++ b/workbook.go @@ -242,6 +242,8 @@ func (w *WorkBook) parseString(buf io.ReadSeeker, size uint16, from string) (res res = strings.Trim(string(runes), "\r\n\t ") if i < size { w.continue_utf16 = size - i + 1 + } else if i == size && err == io.EOF { + w.continue_utf16 = 1 } } else { var n int