Skip to content

Commit 752ebda

Browse files
authored
Replaced patchwork/utf8 with symfony/polyfill-mbstring
Patchwork package is not maintained anymore.
1 parent 6724f3d commit 752ebda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/05-05-01-PHP-and-UTF8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ encoding. You should always explicitly indicate UTF-8 when given the option. For
4141
option for character encoding, and you should always specify UTF-8 if dealing with such strings. Note that as of PHP 5.4.0, UTF-8 is the default encoding for `htmlentities()` and `htmlspecialchars()`.
4242

4343
Finally, If you are building a distributed application and cannot be certain that the `mbstring` extension will be
44-
enabled, then consider using the [patchwork/utf8] Composer package. This will use `mbstring` if it is available, and
44+
enabled, then consider using the [symfony/polyfill-mbstring] Composer package. This will use `mbstring` if it is available, and
4545
fall back to non UTF-8 functions if not.
4646

4747
[Multibyte String Extension]: https://secure.php.net/book.mbstring
48-
[patchwork/utf8]: https://packagist.org/packages/patchwork/utf8
48+
[symfony/polyfill-mbstring]: https://packagist.org/packages/symfony/polyfill-mbstring
4949

5050
### UTF-8 at the Database level
5151

0 commit comments

Comments
 (0)