debian/0000755000000000000000000000000012211770267007173 5ustar debian/source/0000755000000000000000000000000012211767065010475 5ustar debian/source/format0000644000000000000000000000001412211767065011703 0ustar 3.0 (quilt) debian/install0000644000000000000000000000003012211767065010557 0ustar class/* /usr/share/php/ debian/watch0000644000000000000000000000013312211767065010223 0ustar version=3 http://githubredir.debian.net/github/nicolas-grekas/Patchwork-UTF8 /v(.+).tar.gz debian/rules0000755000000000000000000000013412211767065010253 0ustar #!/usr/bin/make -f %: dh $@ --with phpcomposer get-orig-source: uscan --verbose --rename debian/compat0000644000000000000000000000000212211767065010373 0ustar 9 debian/changelog0000644000000000000000000000024312211770267011044 0ustar php-patchwork-utf8 (1.1.7-1) unstable; urgency=low * Initial release. (Closes: #721889) -- David Prévot Wed, 04 Sep 2013 22:37:53 -0400 debian/control0000644000000000000000000000551712211767065010610 0ustar Source: php-patchwork-utf8 Section: php Priority: optional Maintainer: Debian PHP PEAR Maintainers Uploaders: David Prévot Build-Depends: debhelper (>= 9), pkg-php-tools (>= 1.7~) Standards-Version: 3.9.4 Homepage: https://github.com/nicolas-grekas/Patchwork-UTF8 Vcs-Git: git://anonscm.debian.org/pkg-php/php-patchwork-utf8.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-php/php-patchwork-utf8.git Package: php-patchwork-utf8 Architecture: all Depends: ${misc:Depends}, ${phpcomposer:Debian-require} Suggests: ${phpcomposer:Debian-suggest} Description: UTF-8 strings handling for PHP Patchwork UTF-8 provides both a portability layer for Unicode handling in PHP, and a class that mirrors the quasi complete set of native string functions, enhanced to UTF-8 grapheme clusters awareness. . Patchwork UTF-8 provides pure PHP implementations for mbstring, iconv, and intl. The following set of portability-fallbacks allows an application to run on a server even if those extensions are not enabled: . * utf8_encode, utf8_decode, * mbstring: mb_convert_encoding, mb_decode_mimeheader, mb_encode_mimeheader, mb_convert_case, mb_internal_encoding, mb_list_encodings, mb_strlen, mb_strpos, mb_strrpos, mb_strtolower, mb_strtoupper, mb_substitute_character, mb_substr, mb_stripos, mb_stristr, mb_strrchr, mb_strrichr, mb_strripos, mb_strstr, * iconv: iconv, iconv_mime_decode, iconv_mime_decode_headers, iconv_get_encoding, iconv_set_encoding, iconv_mime_encode, ob_iconv_handler, iconv_strlen, iconv_strpos, iconv_strrpos, iconv_substr, * intl: Normalizer, grapheme_extract, grapheme_stripos, grapheme_stristr, grapheme_strlen, grapheme_strpos, grapheme_strripos, grapheme_strrpos, grapheme_strstr, grapheme_substr. . The Patchwork\Utf8 class implements the quasi-complete set of native string functions that need UTF-8 grapheme clusters awareness. Function names, arguments and behavior carefully replicates native PHP string functions. . Some more functions are also provided to help handling UTF-8 strings . * isUtf8(): checks if a string contains well formed UTF-8 data, * toAscii(): generic UTF-8 to ASCII transliteration, * strtocasefold(): unicode transformation for caseless matching, * strtonatfold(): generic case sensitive transformation for collation matching . Mirrored string functions are: strlen, substr, strpos, stripos, strrpos, strripos, strstr, stristr, strrchr, strrichr, strtolower, strtoupper, wordwrap, chr, count_chars, ltrim, ord, rtrim, trim, str_ireplace, str_pad, str_shuffle, str_split, str_word_count, strcmp, strnatcmp, strcasecmp, strnatcasecmp, strncasecmp, strncmp, strcspn, strpbrk, strrev, strspn, strtr, substr_compare, substr_count, substr_replace, ucfirst, lcfirst, ucwords, number_format, utf8_encode, utf8_decode. debian/copyright0000644000000000000000000000245612211767065011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Patchwork UTF-8 Source: https://github.com/nicolas-grekas/Patchwork-UTF8 Upstream-Contact: Nicolas Grekas Files: * Copyright: 2013, Nicolas Grekas License: Apache-2.0 or GPL-2 Files: debian/* Copyright: 2013, David Prévot License: Apache-2.0 or GPL-2 License: Apache-2.0 On Debian systems, the full text of the Apache license version 2 can be found in the file `/usr/share/common-licenses/Apache-2.0'. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.