Skip to content

Commit a2b2984

Browse files
authored
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.
1 parent a3921d2 commit a2b2984

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/topics/reading-and-writing-to-file.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ versions of Microsoft Excel.
282282
**Excel 2003 XML limitations** Please note that Excel 2003 XML format
283283
has some limits regarding to styling cells and handling large
284284
spreadsheets via PHP.
285+
Also, only files using charset UTF-8 are supported.
285286

286287
### \PhpOffice\PhpSpreadsheet\Reader\Xml
287288

@@ -701,6 +702,7 @@ extension.
701702

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

705707
### \PhpOffice\PhpSpreadsheet\Reader\Html
706708

0 commit comments

Comments
 (0)