You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,21 @@ To include it for use in your project, please install via composer:
20
20
composer require zbateson/mb-wrapper
21
21
```
22
22
23
+
## Php 7 Support Dropped
24
+
25
+
As of mb-wrapper 2.0, support for php 7 has been dropped.
26
+
23
27
## Requirements
24
28
25
-
mb-wrapper requires PHP 7.1 or newer. Tested on PHP 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, and 8.2 on GitHub Actions.
29
+
mb-wrapper requires PHP 8.0 or newer. Tested on PHP 8.0, 8.1, 8.2, and 8.3 on GitHub Actions.
30
+
31
+
## New in 2.0
32
+
33
+
If converting or performing an operation on a string fails in iconv, an UnsupportedCharsetException is now thrown.
26
34
27
35
## Description
28
36
29
-
MbWrapper is intended for use wherever mb_* or iconv_* is used. It scans supported charsets returned by mb_list_encodings(), and prefers mb_* functions, but will fallback to iconv if a charset isn't supported.
37
+
MbWrapper is intended for use wherever mb_* or iconv_* is used. It scans supported charsets returned by mb_list_encodings(), and prefers mb_* functions, but will fallback to iconv if a charset isn't supported by the mb_ functions.
30
38
31
39
A list of aliased charsets is maintained for both mb_* and iconv, where a supported charset exists for an alias. This is useful for mail and http parsing as other systems may report encodings not recognized by mb_* or iconv.
0 commit comments