Can't read file .doc (MS Word 97) with utf-8 characters #1454
Labels
MS-DOC (Word 97)
Status: Waiting for feedback
Question has been asked, waiting for response from PR author
Milestone
Uh oh!
There was an error while loading. Please reload this page.
This is:
a bug report
My .doc file has the following text: است که در زمان ساخت داده هائی در آن
I use this code to read file:
`
$phpWord = \PhpOffice\PhpWord\IOFactory::load($source, 'MsDoc');
`
its return: '�3�� ©�G� /�1� 2�E�'�F� 3�'�.��
when i dump it, its return: "'\x063\x06*\x06 ©\x06G\x06 /\x061\x06 2\x06E\x06'\x06F\x06 3\x06'\x06.\x06*\x06 "
How could i read it and save to db?
The text was updated successfully, but these errors were encountered: