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
I encountered an issue with some documents of MsDoc type when parsing the structure returns text in wrong encoding.
Here is one of such documents and the code used for parsing. In this case instead of the original text Test credit card 4316020000630490 Thank you it returns 敔瑳挠敲楤⁴慣摲㐠ㄳ〶〲〰㘰〳㤴ര桔湡.
Unfortunately, Github does not allow you to attach this file as an attachment, so here is a link to download it.
Expected behavior
Returns the text in the correct encoding
Steps to reproduce
Here is the sample (simplified) code used for parsing.
Describe the bug and add attachments
I encountered an issue with some documents of MsDoc type when parsing the structure returns text in wrong encoding.
Here is one of such documents and the code used for parsing. In this case instead of the original text
Test credit card 4316020000630490 Thank you
it returns敔瑳挠敲楤⁴慣摲㐠ㄳ〶〲〰㘰〳㤴ര桔湡
.Unfortunately, Github does not allow you to attach this file as an attachment, so here is a link to download it.
Expected behavior
Returns the text in the correct encoding
Steps to reproduce
Here is the sample (simplified) code used for parsing.
PHPWord version(s) where the bug happened
1.3.0
PHP version(s) where the bug happened
8.1
Priority
The text was updated successfully, but these errors were encountered: