mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
"Adding new Multibyte Class
Adding additional tests Adding some missing casefoldings " git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6833 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
93ad951a8c
commit
52ec5467c6
6 changed files with 9908 additions and 3 deletions
|
@ -45,7 +45,8 @@
|
|||
* Note that the Turkic mappings do not maintain canonical equivalence without additional processing.
|
||||
* See the discussions of case mapping in the Unicode Standard for more information.
|
||||
*/
|
||||
$config['0080_00ff'][] = array('upper' => 181, 'status' => 'C', 'lower' => array(956)); /* MICRO SIGN */
|
||||
$config['0080_00ff'][] = array('upper' => 181, 'status' => 'C', 'lower' => array(956));
|
||||
$config['0080_00ff'][] = array('upper' => 924, 'status' => 'C', 'lower' => array(181));
|
||||
$config['0080_00ff'][] = array('upper' => 192, 'status' => 'C', 'lower' => array(224)); /* LATIN CAPITAL LETTER A WITH GRAVE */
|
||||
$config['0080_00ff'][] = array('upper' => 193, 'status' => 'C', 'lower' => array(225)); /* LATIN CAPITAL LETTER A WITH ACUTE */
|
||||
$config['0080_00ff'][] = array('upper' => 194, 'status' => 'C', 'lower' => array(226)); /* LATIN CAPITAL LETTER A WITH CIRCUMFLEX */
|
||||
|
|
49
cake/config/unicode/casefolding/0250_02af.php
Normal file
49
cake/config/unicode/casefolding/0250_02af.php
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
/* SVN FILE: $Id$ */
|
||||
/**
|
||||
* Case Folding Properties.
|
||||
*
|
||||
* Provides case mapping of Unicode characters for code points U+0080 through U+00FF
|
||||
*
|
||||
* @see http://www.unicode.org/Public/UNIDATA/UCD.html
|
||||
* @see http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
|
||||
* @see http://www.unicode.org/reports/tr21/tr21-5.html
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
|
||||
* Copyright 2005-2008, Cake Software Foundation, Inc.
|
||||
* 1785 E. Sahara Avenue, Suite 490-204
|
||||
* Las Vegas, Nevada 89104
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @filesource
|
||||
* @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
|
||||
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
|
||||
* @package cake
|
||||
* @subpackage cake.cake.config.unicode.casefolding
|
||||
* @since CakePHP(tm) v 1.2.0.6833
|
||||
* @version $Revision$
|
||||
* @modifiedby $LastChangedBy$
|
||||
* @lastmodified $Date$
|
||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||
*/
|
||||
/**
|
||||
* The upper field is the decimal value of the upper case character
|
||||
*
|
||||
* The lower filed is an array of the decimal values that form the lower case version of a character.
|
||||
*
|
||||
* The status field is:
|
||||
* C: common case folding, common mappings shared by both simple and full mappings.
|
||||
* F: full case folding, mappings that cause strings to grow in length. Multiple characters are separated by spaces.
|
||||
* S: simple case folding, mappings to single characters where different from F.
|
||||
* T: special case for uppercase I and dotted uppercase I
|
||||
* - For non-Turkic languages, this mapping is normally not used.
|
||||
* - For Turkic languages (tr, az), this mapping can be used instead of the normal mapping for these characters.
|
||||
* Note that the Turkic mappings do not maintain canonical equivalence without additional processing.
|
||||
* See the discussions of case mapping in the Unicode Standard for more information.
|
||||
*/
|
||||
$config['0250_02af'][] = array('upper' => 422, 'status' => 'C', 'lower' => array(640));
|
||||
?>
|
|
@ -52,7 +52,7 @@ $config['0370_03ff'][] = array('upper' => 906, 'status' => 'C', 'lower' => array
|
|||
$config['0370_03ff'][] = array('upper' => 908, 'status' => 'C', 'lower' => array(972)); /* GREEK CAPITAL LETTER OMICRON WITH TONOS */
|
||||
$config['0370_03ff'][] = array('upper' => 910, 'status' => 'C', 'lower' => array(973)); /* GREEK CAPITAL LETTER UPSILON WITH TONOS */
|
||||
$config['0370_03ff'][] = array('upper' => 911, 'status' => 'C', 'lower' => array(974)); /* GREEK CAPITAL LETTER OMEGA WITH TONOS */
|
||||
$config['0370_03ff'][] = array('upper' => 912, 'status' => 'F', 'lower' => array(953, 776, 769)); /* GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS */
|
||||
//$config['0370_03ff'][] = array('upper' => 912, 'status' => 'F', 'lower' => array(953, 776, 769)); /* GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS */
|
||||
$config['0370_03ff'][] = array('upper' => 913, 'status' => 'C', 'lower' => array(945)); /* GREEK CAPITAL LETTER ALPHA */
|
||||
$config['0370_03ff'][] = array('upper' => 914, 'status' => 'C', 'lower' => array(946)); /* GREEK CAPITAL LETTER BETA */
|
||||
$config['0370_03ff'][] = array('upper' => 915, 'status' => 'C', 'lower' => array(947)); /* GREEK CAPITAL LETTER GAMMA */
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
* Note that the Turkic mappings do not maintain canonical equivalence without additional processing.
|
||||
* See the discussions of case mapping in the Unicode Standard for more information.
|
||||
*/
|
||||
$config['1f00_1fff'][] = array('upper' => 7944, 'status' => 'C', 'lower' => array(7936)); /* GREEK CAPITAL LETTER ALPHA WITH PSILI */
|
||||
$config['1f00_1fff'][] = array('upper' => 7944, 'status' => 'C', 'lower' => array(7936, 953)); /* GREEK CAPITAL LETTER ALPHA WITH PSILI */
|
||||
$config['1f00_1fff'][] = array('upper' => 7945, 'status' => 'C', 'lower' => array(7937)); /* GREEK CAPITAL LETTER ALPHA WITH DASIA */
|
||||
$config['1f00_1fff'][] = array('upper' => 7946, 'status' => 'C', 'lower' => array(7938)); /* GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA */
|
||||
$config['1f00_1fff'][] = array('upper' => 7947, 'status' => 'C', 'lower' => array(7939)); /* GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA */
|
||||
|
|
1348
cake/libs/multibyte.php
Normal file
1348
cake/libs/multibyte.php
Normal file
File diff suppressed because it is too large
Load diff
8507
cake/tests/cases/libs/multibyte.test.php
Normal file
8507
cake/tests/cases/libs/multibyte.test.php
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue