source-class-Com.Tecnick.Unicode.Data.Latin

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
 1: <?php
 2: /**
 3:  * Latin.php
 4:  *
 5:  * @since       2011-05-23
 6:  * @category    Library
 7:  * @package     UnicodeData
 8:  * @author      Nicola Asuni <info@tecnick.com>
 9:  * @copyright   2011-2015 Nicola Asuni - Tecnick.com LTD
10:  * @license     http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
11:  * @link        https://github.com/tecnickcom/tc-lib-unicode-data
12:  *
13:  * This file is part of tc-lib-unicode-data software library.
14:  */
15: 
16: namespace Com\Tecnick\Unicode\Data;
17: 
18: /**
19:  * Com\Tecnick\Unicode\Data\Latin
20:  *
21:  * @since       2011-05-23
22:  * @category    Library
23:  * @package     UnicodeData
24:  * @author      Nicola Asuni <info@tecnick.com>
25:  * @copyright   2011-2015 Nicola Asuni - Tecnick.com LTD
26:  * @license     http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
27:  * @link        https://github.com/tecnickcom/tc-lib-unicode-data
28:  */
29: class Latin
30: {
31:     /**
32:      * Array of character substitutions from UTF-8 Unicode to Latin1.
33:      *
34:      * @var array
35:      */
36:     public static $substitute = array(
37:         8364=>128, # Euro1
38:         338=>140,  # OE
39:         352=>138,  # Scaron
40:         376=>159,  # Ydieresis
41:         381=>142,  # Zcaron2
42:         8226=>149, # bullet3
43:         710=>136,  # circumflex
44:         8224=>134, # dagger
45:         8225=>135, # daggerdbl
46:         8230=>133, # ellipsis
47:         8212=>151, # emdash
48:         8211=>150, # endash
49:         402=>131,  # florin
50:         8249=>139, # guilsinglleft
51:         8250=>155, # guilsinglright
52:         339=>156,  # oe
53:         8240=>137, # perthousand
54:         8222=>132, # quotedblbase
55:         8220=>147, # quotedblleft
56:         8221=>148, # quotedblright
57:         8216=>145, # quoteleft
58:         8217=>146, # quoteright
59:         8218=>130, # quotesinglbase
60:         353=>154,  # scaron
61:         732=>152,  # tilde
62:         8482=>153, # trademark
63:         382=>158   # zcaron2
64:     );
65: }
66: 
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy