mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
603ed0e39c
Implemented multi-byte methods for: String::strpos(); String::stripos(); String::strtoupper(); Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper() Corrected file encodings. Added loading of configurations from cake/config Added specifc case folding files to cake/config/unicode/casefolding git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
58 lines
No EOL
3.3 KiB
PHP
58 lines
No EOL
3.3 KiB
PHP
<?php
|
|
/* SVN FILE: $Id$ */
|
|
/**
|
|
* Case Folding Properties.
|
|
*
|
|
* Provides case mapping of Unicode characters for code points U+0500 through U+052F
|
|
*
|
|
* @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-2007, 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-2007, 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.5691
|
|
* @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['0500_052f'][] = array('upper' => 1280, 'status' => 'C', 'lower' => array(1281)); /* CYRILLIC CAPITAL LETTER KOMI DE */
|
|
$config['0500_052f'][] = array('upper' => 1282, 'status' => 'C', 'lower' => array(1283)); /* CYRILLIC CAPITAL LETTER KOMI DJE */
|
|
$config['0500_052f'][] = array('upper' => 1284, 'status' => 'C', 'lower' => array(1285)); /* CYRILLIC CAPITAL LETTER KOMI ZJE */
|
|
$config['0500_052f'][] = array('upper' => 1286, 'status' => 'C', 'lower' => array(1287)); /* CYRILLIC CAPITAL LETTER KOMI DZJE */
|
|
$config['0500_052f'][] = array('upper' => 1288, 'status' => 'C', 'lower' => array(1289)); /* CYRILLIC CAPITAL LETTER KOMI LJE */
|
|
$config['0500_052f'][] = array('upper' => 1290, 'status' => 'C', 'lower' => array(1291)); /* CYRILLIC CAPITAL LETTER KOMI NJE */
|
|
$config['0500_052f'][] = array('upper' => 1292, 'status' => 'C', 'lower' => array(1293)); /* CYRILLIC CAPITAL LETTER KOMI SJE */
|
|
$config['0500_052f'][] = array('upper' => 1294, 'status' => 'C', 'lower' => array(1295)); /* CYRILLIC CAPITAL LETTER KOMI TJE */
|
|
$config['0500_052f'][] = array('upper' => 1296, 'status' => 'C', 'lower' => array(1297)); /* CYRILLIC CAPITAL LETTER REVERSED ZE */
|
|
$config['0500_052f'][] = array('upper' => 1298, 'status' => 'C', 'lower' => array(1299)); /* CYRILLIC CAPITAL LETTER EL WITH HOOK */
|
|
?>
|