patchwork/utf8
Abandoned; use symfony/polyfill-mbstring or symfony/string. Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP
v1.3.3
22M downloads/mo
#2398 most downloaded on Packagist
tchwork/utf8
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 3.5 years
Most releases are documented
notes for 35 of 48 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
49 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
48 releases · Oct 2012 to Jan 2021Releases
latest 49-
v1.3.307 Jan 2021 -
v1.3.203 Dec 2019Release notes
Open source →- update maps for Unicode 12
- check if MB_OVERLOAD_STRING exists before using it
-
v1.3.118 May 2016 -
v1.3.015 Dec 2015Release notes
Open source →- add shim for mb_convert_variables
- marked all shims as @internal
- test on appveyor
- a few fixes in iconv and mbstring shims
- cleanup refacto for preparing v2 based on symfony-polyfill
Release notes
Open source →- add shim for mb_convert_variables
- marked all shims as @internal
- test on appveyor
- a few fixes in iconv and mbstring shims
- cleanup refacto for preparing v2 based on symfony-polyfill
-
v1.2.615 Dec 2015 -
v1.2.514 Oct 2015Release notes
Open source →- handle the third argument of mb_convert_encoding() being an array
- add license files
Release notes
Open source →- handle the third argument of mb_convert_encoding() being an array
- add license files
-
v1.2.325 Jun 2015Release notes
Open source →- fix mb_strrpos shim with negative offset
- sync tests with latest PHP/HHVM behaviors
- remove PHP7/HHVM from allowed failures
- move to PSR-1+2+4
- mv class/ src/
Release notes
Open source →- fix mb_strrpos shim with negative offset
- sync tests with latest PHP/HHVM behaviors
- remove PHP7/HHVM from allowed failures
- move to PSR-1+2+4
- mv class/ src/
-
v1.2.226 Apr 2015Release notes
Open source →- fix ucwords to be functionally the same as in-built PHP version
- fix iconv_set_encoding deprecation notice in PHP 5.6.0
- remove legacy test for HHVM/PHP7
- mb_parse_str() should have no return value
Release notes
Open source →- Fix ucwords to be functionally the same as in-built PHP version
- Fix iconv_set_encoding deprecation notice in PHP 5.6.0
- remove legacy test for HHVM/PHP7
- mb_parse_str() should have no return value
-
v1.2.129 Jan 2015 -
v1.2.012 Jan 2015Release notes
Open source →- add u::strwidth() to get the width of a string when printed on a terminal
- add more mbstring shims
- add a note about https://bugs.php.net/65358
- fail properly when COM is not loaded
- fallback on stat() when lstat() fails
-
v1.2.0-beta05 Aug 2014 pre-releaseRelease notes
Open source →- add best-fit mappings for UTF-8 to Code Page approximations
- add portable Unicode filesystem access under Windows and other OSes
-
v1.1.3115 Dec 2015 -
v1.1.3029 Jun 2015 -
v1.1.2926 Apr 2015Release notes
Open source →- fix ucwords to be functionally the same as in-built PHP version
- fix iconv_set_encoding deprecation notice in PHP 5.6.0
- remove legacy test for HHVM/PHP7
-
v1.1.2812 Jan 2015 -
v1.1.2711 Jan 2015 -
v1.1.2608 Nov 2014 -
v1.1.2505 Aug 2014 -
v1.1.2417 Jun 2014Release notes
Open source →- update tests for latest HHVM fixes
- move legacy GRAPHEME_CLUSTER_RX version to Intl shim
-
v1.1.2322 May 2014 -
v1.1.2206 May 2014Release notes
Open source →- fix #19: don't call ini_set() when not required and gain compat with PHP5.6
-
v1.1.2126 Mar 2014 -
v1.1.2001 Mar 2014Nothing published for this version
-
v1.1.1802 Feb 2014Release notes
Open source →- require PCRE>=7.3, the first that correctly checks UTF-8 validity
- enable HHVM on Travis CI
-
v1.1.1702 Jan 2014Release notes
Open source →- enable Travis CI and SensioLabsInsight
- add shims for mb_check_encoding, mb_detect_encoding, mb_detect_order, mb_language and mb_encoding_aliases
- mbstring shim fix: alias UTF8 to UTF-8
- more tests
-
v1.1.1607 Dec 2013Release notes
Open source →- fix $_FILES bootup filtering
- fix mbstring shim behavior with invalid utf8 strings
-
v1.1.1523 Nov 2013Release notes
Open source →- u::toAscii() is now locale sensitive and allows a substitution character
- use LSB for more extension openness
- handle null for mb_substr() shim length as in PHP 5.4.8
- fix casts to string
- fix mbstring MB_CASE_TITLE shim on edge case
- small optimizations
- add a changelog
-
v1.1.1404 Nov 2013Release notes
Open source →- set default_charset to UTF-8 at bootup
- remove bootup PCRE warning
- fix iconv internal_encoding shim
- fix bootup dependencies
- add tests for normalizers consts
- readme update
-
v1.1.1312 Oct 2013Release notes
Open source →- new u::filter(): normalizes to UTF-8 NFC, converting from CP-1252 when needed
- new u::json_decode(), u::filter_input() and u::filter_input_array() for NFC safeness
- reference Unicode 6.3
- more tests
- readme update
-
v1.1.1204 Oct 2013Release notes
Open source →- new Patchwork\TurkishUtf8 class extends Patchwork\Utf8 with Turkish specifics
- expose Patchwork\Utf8\Bootup::filterString() for UF-8 NFC strings normalization
- normalize inputs EOL to work around https://bugs.php.net/65732
- update composer.json
-
v1.1.1119 Aug 2013Release notes
Open source →- updates related to PHP bugs 52211 and 61860
- fixes and tests for iconv shim
- fixes and tests for mbstring shim
-
v1.1.1013 Aug 2013Release notes
Open source →- update .gitattributes export-ignore
- fixes and tests for intl::grapheme_extract() shim
- fixes and tests for iconv shim
- fixes and tests for mbstring shim
-
v1.1.904 Aug 2013Release notes
Open source →- know that PHP bug 61860 has been fixed in 5.5.1
- fix intl::grapheme_strlen() shim on edge case
- fix case sensitive encoding checks for mbstring shim
- some more fixes, tests and optimizations
-
v1.1.824 May 2013Release notes
Open source →- filter leading combining chars in inputs for NFC safeness
- fixes, tests and optimizations
- readme update
-
v1.1.723 May 2013Nothing published for this version
-
v1.1.613 May 2013Nothing published for this version
-
v1.1.513 May 2013Nothing published for this version
-
v1.1.413 May 2013Nothing published for this version
-
v1.1.318 Apr 2013Nothing published for this version
-
v1.1.218 Apr 2013Nothing published for this version
-
v1.1.1no dateNothing published for this version
-
v1.1.018 Apr 2013 -
v1.0.622 Apr 2013Release notes
Open source →- add extra characters for ASCII transliterations
- move bootup stages in namespaced functions for greater modularity
- NFC normalization for autoglobal inputs
- better setlocale() initialization
- fix fatal error caused by multiple bootup inclusion
- fix bootup
-
v1.0.518 Apr 2013Nothing published for this version
-
v1.0.413 Dec 2012Nothing published for this version
-
v1.0.318 Oct 2012Nothing published for this version
-
v1.0.217 Oct 2012Nothing published for this version
-
v1.0.116 Oct 2012Nothing published for this version
-
v1.0.015 Oct 2012Release notes
Open source →- first official release of a work started in 2007
- Apache v2.0 / GPL v2.0 dual-licensed
- PHP portability implementations for mbstring, iconv, intl grapheme_*() and utf8_encode/decode()
- Unicode compliant and portable Normalizer
- grapheme clusters aware UTF-8 handling string functions replica
- PHP runtime environment configuration for UTF-8
- extra functions for UTF-8 validity checks, transliterations and case folding
- covered by unit tests