We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is:
PhpOffice\PhpSpreadsheet\Helper\Html() used for set html to cell, but russian charactor change to some special character
Смеситель для раковины Jacob Delafon Aleo E72277-CP
Сме�и�ел� дл� �аковин� Jacob Delafon Aleo E72277-CP
require __DIR__ . '/vendor/autoload.php'; // Create new Spreadsheet object $spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); $wizard = new \PhpOffice\PhpSpreadsheet\Helper\Html(); $value = "Смеситель для раковины Jacob Delafon Aleo E72277-CP"; $cellValue = $wizard->toRichTextObject($value); print_r($cellValue);
The text was updated successfully, but these errors were encountered:
You need to pass UTF-8 to the helper, same as setting cell values from strings should always be UTF-8. Is this a UTF-8 value?
Sorry, something went wrong.
1489093
Helper\Html support UTF-8 HTML input
Helper\Html
e6c4577
Assume UTF-8 encoding. Not assuming UTF-8 would mangle text such as "русский" Fixes PHPOffice#444
No branches or pull requests
This is:
PhpOffice\PhpSpreadsheet\Helper\Html() used for set html to cell, but russian charactor change to some special character
What is the expected behavior?
Смеситель для раковины Jacob Delafon Aleo E72277-CP
What is the current behavior?
Сме�и�ел� дл� �аковин� Jacob Delafon Aleo E72277-CP
What are the steps to reproduce?
The text was updated successfully, but these errors were encountered: