Skip to content

Commit

Permalink
Document Charset Restriction for Html/Xml Reader (#3068)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oleibman authored Sep 19, 2022
1 parent a3921d2 commit a2b2984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/topics/reading-and-writing-to-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ versions of Microsoft Excel.
**Excel 2003 XML limitations** Please note that Excel 2003 XML format
has some limits regarding to styling cells and handling large
spreadsheets via PHP.
Also, only files using charset UTF-8 are supported.

### \PhpOffice\PhpSpreadsheet\Reader\Xml

Expand Down Expand Up @@ -701,6 +702,7 @@ extension.

**HTML limitations** Please note that HTML file format has some limits
regarding to styling cells, number formatting, ...
Also, only files using charset UTF-8 are supported.

### \PhpOffice\PhpSpreadsheet\Reader\Html

Expand Down

0 comments on commit a2b2984

Please sign in to comment.