You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a problem when I save the xml word save to docx use "WordprocessingMLPackage.save". My run-time encoding is GBK and xml encoding is UTF-8, after save, it cannot be open because the encoding not correct. I think the problem is in the file MainDocumentPartFilterOuputStream, I found three place invoking the method getBytes(), it will get the Bytes by run-time encoding not use UTF-8, after I change the code getBytes() to getBytes("UTF-8"), the file can open after save. please help to fix this problem, thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I have a problem when I save the xml word save to docx use "WordprocessingMLPackage.save". My run-time encoding is GBK and xml encoding is UTF-8, after save, it cannot be open because the encoding not correct. I think the problem is in the file MainDocumentPartFilterOuputStream, I found three place invoking the method getBytes(), it will get the Bytes by run-time encoding not use UTF-8, after I change the code getBytes() to getBytes("UTF-8"), the file can open after save. please help to fix this problem, thanks.
The text was updated successfully, but these errors were encountered: