- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 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
- 64
- 65
- 66
- 67
- 68
- 69
function utf8win ($strin) {
$strin = ereg_replace("а","а",$strin);
$strin = ereg_replace("б","б",$strin);
$strin = ereg_replace("в","в",$strin);
$strin = ereg_replace("г","г",$strin);
$strin = ereg_replace("д","д",$strin);
$strin = ereg_replace("е","е",$strin);
$strin = ereg_replace("ё","ё",$strin);
$strin = ereg_replace("ж","ж",$strin);
$strin = ereg_replace("з","з",$strin);
$strin = ereg_replace("и","и",$strin);
$strin = ereg_replace("й","й",$strin);
$strin = ereg_replace("к","к",$strin);
$strin = ereg_replace("л","л",$strin);
$strin = ereg_replace("м","м",$strin);
$strin = ereg_replace("н","н",$strin);
$strin = ereg_replace("о","о",$strin);
$strin = ereg_replace("п","п",$strin);
$strin = ereg_replace("р","р",$strin);
$strin = ereg_replace("с","с",$strin);
$strin = ereg_replace("т","т",$strin);
$strin = ereg_replace("у","у",$strin);
$strin = ereg_replace("ф","ф",$strin);
$strin = ereg_replace("х","х",$strin);
$strin = ereg_replace("ц","ц",$strin);
$strin = ereg_replace("ш","ш",$strin);
$strin = ereg_replace("щ","щ",$strin);
$strin = ereg_replace("ъ","ъ",$strin);
$strin = ereg_replace("ь","ь",$strin);
$strin = ereg_replace("э","э",$strin);
$strin = ereg_replace("ю","ю",$strin);
$strin = ereg_replace("я","я",$strin);
$strin = ereg_replace("ч","ч",$strin);
$strin = ereg_replace("ы","ы",$strin);
$strin = ereg_replace("А","А",$strin);
$strin = ereg_replace("Б","Б",$strin);
$strin = ereg_replace("В","В",$strin);
$strin = ereg_replace("Г","Г",$strin);
$strin = ereg_replace("Д","Д",$strin);
$strin = ereg_replace("Е","Е",$strin);
$strin = ereg_replace("Ж","Ж",$strin);
$strin = ereg_replace("З","З",$strin);
$strin = ereg_replace("И","И",$strin);
$strin = ereg_replace("Й","Й",$strin);
$strin = ereg_replace("К","К",$strin);
$strin = ereg_replace("Л","Л",$strin);
$strin = ereg_replace("М","М",$strin);
$strin = ereg_replace("Н","Н",$strin);
$strin = ereg_replace("О","О",$strin);
$strin = ereg_replace("П","П",$strin);
$strin = ereg_replace("Р","Р",$strin);
$strin = ereg_replace("С","С",$strin);
$strin = ereg_replace("Т","Т",$strin);
$strin = ereg_replace("У","У",$strin);
$strin = ereg_replace("Ф","Ф",$strin);
$strin = ereg_replace("Х","Х",$strin);
$strin = ereg_replace("Ц","Ц",$strin);
$strin = ereg_replace("Ш","Ш",$strin);
$strin = ereg_replace("Щ","Щ",$strin);
$strin = ereg_replace("Ъ","Ъ",$strin);
$strin = ereg_replace("Ь","Ь",$strin);
$strin = ereg_replace("Э","Э",$strin);
$strin = ereg_replace("Ю","Ю",$strin);
$strin = ereg_replace("Я","Я",$strin);
$strin = ereg_replace("Ч","Ч",$strin);
$strin = ereg_replace("Ы","Ы",$strin);
$strin = ereg_replace("A","Ё",$strin);
return $strin;
}
ZX_Spectrum 16.09.2011 13:53 # +3
TheHamstertamer 16.09.2011 15:09 # 0
Тут же полный набор, феерия бреда:
1. Игнорирование станд. ф-ций
2. Индусизм
3. Использование ereg_replace, там, где он найух не нужен
brainstorm 16.09.2011 15:25 # 0
djumpen 16.09.2011 15:28 # 0
Lure Of Chaos 16.09.2011 16:44 # +4
brainstorm 16.09.2011 17:41 # +1
LynX 16.09.2011 19:56 # +4
jokz 16.09.2011 22:09 # +3
KirAmp 17.09.2011 07:50 # +5
TheHamstertamer 17.09.2011 08:41 # 0
Lure Of Chaos 17.09.2011 13:38 # +5
inside 18.09.2011 14:37 # 0
guest8 09.04.2019 11:31 # −999