alphanormalize_php
v.03.00.03 — June 17, 2020
accentalpha_to_alpha.inc
Go to the documentation of this file.
1
<?php
// -*- coding: utf-8 -*-
2
3
/** \file accentalpha_to_alpha.inc
4
* (December 31, 2013)
5
*
6
* \brief Characters with accent, cedilla ... or ligature.
7
*
8
* Piece of alphanormalize_php.
9
* https://bitbucket.org/OPiMedia/alphanormalize_php
10
*
11
* GPLv3 --- Copyright (C) 2013 Olivier Pirson
12
* http://www.opimedia.be/
13
*/
14
15
16
/**
17
* Associative table: character with accent, cedilla ... or ligature => alphabetic character corresponding.
18
*
19
* For example: <code>'é'</code> => <code>'e'</code>.
20
*/
21
$ACCENTALPHA_TO_ALPHA
= array(
22
'À'
=>
'A'
,
23
'Á'
=>
'A'
,
24
'Â'
=>
'A'
,
25
'Ã'
=>
'A'
,
26
'Ä'
=>
'A'
,
27
'Å'
=>
'A'
,
28
'Æ'
=>
'AE'
,
29
'Ç'
=>
'C'
,
30
'È'
=>
'E'
,
31
'É'
=>
'E'
,
32
'Ê'
=>
'E'
,
33
'Ë'
=>
'E'
,
34
'Ì'
=>
'I'
,
35
'Í'
=>
'I'
,
36
'Î'
=>
'I'
,
37
'Ï'
=>
'I'
,
38
'Ñ'
=>
'N'
,
39
'Ò'
=>
'O'
,
40
'Ó'
=>
'O'
,
41
'Ô'
=>
'O'
,
42
'Õ'
=>
'O'
,
43
'Ö'
=>
'O'
,
44
'Ø'
=>
'O'
,
45
'Ù'
=>
'U'
,
46
'Ú'
=>
'U'
,
47
'Û'
=>
'U'
,
48
'Ü'
=>
'U'
,
49
'Ý'
=>
'Y'
,
50
'ß'
=>
'sz'
,
51
'à'
=>
'a'
,
52
'á'
=>
'a'
,
53
'â'
=>
'a'
,
54
'ã'
=>
'a'
,
55
'ä'
=>
'a'
,
56
'å'
=>
'a'
,
57
'æ'
=>
'ae'
,
58
'ç'
=>
'c'
,
59
'è'
=>
'e'
,
60
'é'
=>
'e'
,
61
'ê'
=>
'e'
,
62
'ë'
=>
'e'
,
63
'ì'
=>
'i'
,
64
'í'
=>
'i'
,
65
'î'
=>
'i'
,
66
'ï'
=>
'i'
,
67
'ñ'
=>
'n'
,
68
'ò'
=>
'o'
,
69
'ó'
=>
'o'
,
70
'ô'
=>
'o'
,
71
'õ'
=>
'o'
,
72
'ö'
=>
'o'
,
73
'ø'
=>
'o'
,
74
'ù'
=>
'u'
,
75
'ú'
=>
'u'
,
76
'û'
=>
'u'
,
77
'ü'
=>
'u'
,
78
'ý'
=>
'y'
,
79
'ÿ'
=>
'y'
,
80
'Œ'
=>
'OE'
,
81
'œ'
=>
'oe'
,
82
'Š'
=>
'S'
,
83
'š'
=>
's'
,
84
'Ÿ'
=>
'Y'
85
);
86
87
88
return
true
;
89
90
?>
$ACCENTALPHA_TO_ALPHA
$ACCENTALPHA_TO_ALPHA
Definition:
accentalpha_to_alpha.inc:21
accentalpha_to_alpha.inc
Generated on Fri Jun 19 2020 20:35:08 for alphanormalize_php by
1.8.13