PhpSpreadsheet/tests/data/Shared
oleibman 8729a68338
Xls Reader Handle MACCENTRALEUROPE With or Without Hyphen (#2213)
* Xls Reader Handle MACCENTRALEUROPE With or Without Hyphen

Fixes issue #549 and https://github.com/Maatwebsite/Laravel-Excel/issues/989 (which is the source of the new test file). Some systems accept MACCENTRALEUROPE as the name for the appropriate encoding, and some accept MAC-CENTRALEUROPE. I fortunately have access to at least one of each type, and have run the tests on each.

CodePage.php has an array of translations from codepage number to string. I now allow the value to itself be an array; if so, the code will test each in turn to see if it can be used in iconv. I did not go fishing for other similar problems. If such show up, they can be dealt with in the same manner as this one. I don't really expect others, since this is a problem not merely for Xls, but, even then, it applies only to BIFF5 and earlier.

I also moved XlsTest from Reader to Reader/Xls.

* Cache Successful Result For Future Use

Per suggestion from @MarkBaker
2021-07-12 03:02:47 +02:00
..
Date Fix Two 32-bit Timestamp Problems, and Minor getFormattedValue Bug (#1891) 2021-03-03 10:52:11 +01:00
OLERead Xls file threw exception during open by Xls reader 2018-10-07 18:49:01 +11:00
Trend Trend unit tests (#1899) 2021-03-06 22:50:19 +01:00
CentimeterSizeToPixels.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
CodePage.php Xls Reader Handle MACCENTRALEUROPE With or Without Hyphen (#2213) 2021-07-12 03:02:47 +02:00
FontSizeToPixels.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
InchSizeToPixels.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
PasswordHashes.php Add support protection of worksheet by a specific hash algorithm 2020-05-31 20:29:20 +09:00