1
|
<?php
|
2
|
|
3
|
// $Id: search_convert.php 442 2007-04-01 13:09:35Z Ruebenwurzel $
|
4
|
|
5
|
/*
|
6
|
|
7
|
Website Baker Project <http://www.websitebaker.org/>
|
8
|
Copyright (C) 2004-2007, Ryan Djurovich
|
9
|
|
10
|
Website Baker is free software; you can redistribute it and/or modify
|
11
|
it under the terms of the GNU General Public License as published by
|
12
|
the Free Software Foundation; either version 2 of the License, or
|
13
|
(at your option) any later version.
|
14
|
|
15
|
Website Baker is distributed in the hope that it will be useful,
|
16
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
GNU General Public License for more details.
|
19
|
|
20
|
You should have received a copy of the GNU General Public License
|
21
|
along with Website Baker; if not, write to the Free Software
|
22
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23
|
|
24
|
*/
|
25
|
|
26
|
/*
|
27
|
Character Conversion file
|
28
|
Some special translations
|
29
|
*/
|
30
|
if(!defined('WB_URL')) {
|
31
|
header('Location: ../index.php');
|
32
|
exit(0);
|
33
|
}
|
34
|
|
35
|
//for Xinha, (htmlarea)
|
36
|
$string_conv_iso88591=array(
|
37
|
"?"=>"Š","?"=>"š","?"=>"Œ","?"=>"œ","?"=>"Ÿ",
|
38
|
">"=>">","<"=>"<",
|
39
|
"?"=>"„","?"=>"•","?"=>"ˆ","Ν"=>"Ν","ν"=>"ν",
|
40
|
"Σ"=>"Σ","Υ"=>"Υ","υ"=>"υ",
|
41
|
"Ζ"=>"Ζ","ζ"=>"ζ","ξ"=>"ξ","Β"=>"Β","β"=>"β",
|
42
|
"∞"=>"∞","↔"=>"↔","⁄"=>"⁄","Η"=>"Η","η"=>"η",
|
43
|
"Χ"=>"Χ","∩"=>"∩","∧"=>"∧","Α"=>"Α","α"=>"α",
|
44
|
"≈"=>"≈","?"=>"™","?"=>"˜","≤"=>"≤",
|
45
|
"Δ"=>"Δ","δ"=>"δ","?"=>"€","?"=>"ƒ",
|
46
|
"Γ"=>"Γ","γ"=>"γ","≥"=>"≥","♥"=>"♥",
|
47
|
"?"=>"…","∫"=>"∫","Ι"=>"Ι","ι"=>"ι",
|
48
|
"Κ"=>"Κ","κ"=>"κ","Λ"=>"Λ","λ"=>"λ",
|
49
|
"←"=>"←","?"=>"“","◊"=>"◊",
|
50
|
"?"=>"‹","?"=>"‘","?"=>"—","≠"=>"≠",
|
51
|
"−"=>"−","Μ"=>"Μ","μ"=>"μ","?"=>"–",
|
52
|
"‾"=>"‾","Ω"=>"Ω","ω"=>"ω","ο"=>"ο",
|
53
|
"Φ"=>"Φ","φ"=>"φ","Π"=>"Π","π"=>"π","∂"=>"∂",
|
54
|
"?"=>"‰","″"=>"″","′"=>"′","∏"=>"∏",
|
55
|
"Ψ"=>"Ψ","√"=>"√","⇒"=>"⇒","→"=>"→",
|
56
|
"?"=>"”","Ρ"=>"Ρ","ρ"=>"ρ",
|
57
|
"?"=>"›","?"=>"’","?"=>"‚",
|
58
|
"σ"=>"σ","ς"=>"ς","♠"=>"♠","∑"=>"∑",
|
59
|
"Τ"=>"Τ","τ"=>"τ","Θ"=>"Θ","θ"=>"θ",
|
60
|
"↑"=>"↑","Ξ"=>"Ξ"
|
61
|
);
|
62
|
|
63
|
//for fckeditor, (tiny_mce)
|
64
|
$string_entities_conv_iso88591=array(
|
65
|
"Œ"=>"Œ","œ"=>"œ","Š"=>"Š","š"=>"š",
|
66
|
"Ÿ"=>"Ÿ",
|
67
|
"˜"=>"˜","ϒ"=>"ϒ","•"=>"•","™"=>"™",
|
68
|
"„"=>"„","ˆ"=>"ˆ","€"=>"€","ƒ"=>"ƒ",
|
69
|
"…"=>"…","⟨"=>"〈","⌈"=>"⌈","“"=>"“",
|
70
|
"⌊"=>"⌊","–"=>"–","—"=>"—",
|
71
|
"‹"=>"‹","‘"=>"‘","⌋"=>"⌋","”"=>"”",
|
72
|
"⌉"=>"⌉","⟩"=>"〉","ϖ"=>"ϖ","‰"=>"‰",
|
73
|
"›"=>"›","’"=>"’","‚"=>"‚","ϑ"=>"ϑ"
|
74
|
);
|
75
|
|
76
|
?>
|