Document Charset Restriction for Html/Xml Reader (#3068)

Fix #1681, although probably not to the originator's satisfaction. Html and Xml readers will handle documents only with a charset of UTF-8. This PR documents that restriction. No change to source code; see the original issue for explanation.
This commit is contained in:
oleibman 2022-09-19 06:49:01 -07:00 committed by GitHub
parent a3921d20bc
commit a2b2984104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ versions of Microsoft Excel.
**Excel 2003 XML limitations** Please note that Excel 2003 XML format **Excel 2003 XML limitations** Please note that Excel 2003 XML format
has some limits regarding to styling cells and handling large has some limits regarding to styling cells and handling large
spreadsheets via PHP. spreadsheets via PHP.
Also, only files using charset UTF-8 are supported.
### \PhpOffice\PhpSpreadsheet\Reader\Xml ### \PhpOffice\PhpSpreadsheet\Reader\Xml
@ -701,6 +702,7 @@ extension.
**HTML limitations** Please note that HTML file format has some limits **HTML limitations** Please note that HTML file format has some limits
regarding to styling cells, number formatting, ... regarding to styling cells, number formatting, ...
Also, only files using charset UTF-8 are supported.
### \PhpOffice\PhpSpreadsheet\Reader\Html ### \PhpOffice\PhpSpreadsheet\Reader\Html