- 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 win2utf ($string) {
$string = ereg_replace("?","а",$string);
$string = ereg_replace("?","б",$string);
$string = ereg_replace("?","в",$string);
$string = ereg_replace("?","г",$string);
$string = ereg_replace("?","д",$string);
$string = ereg_replace("?","е",$string);
$string = ereg_replace("?","ё",$string);
$string = ereg_replace("?","ж",$string);
$string = ereg_replace("?","з",$string);
$string = ereg_replace("?","и",$string);
$string = ereg_replace("?","й",$string);
$string = ereg_replace("?","к",$string);
$string = ereg_replace("?","л",$string);
$string = ereg_replace("?","м",$string);
$string = ereg_replace("?","н",$string);
$string = ereg_replace("?","о",$string);
$string = ereg_replace("?","п",$string);
$string = ereg_replace("?","р",$string);
$string = ereg_replace("?","с",$string);
$string = ereg_replace("?","т",$string);
$string = ereg_replace("?","у",$string);
$string = ereg_replace("?","ф",$string);
$string = ereg_replace("?","х",$string);
$string = ereg_replace("?","ц",$string);
$string = ereg_replace("?","ш",$string);
$string = ereg_replace("?","щ",$string);
$string = ereg_replace("?","ъ",$string);
$string = ereg_replace("?","ь",$string);
$string = ereg_replace("?","э",$string);
$string = ereg_replace("?","ю",$string);
$string = ereg_replace("?","я",$string);
$string = ereg_replace("?","ч",$string);
$string = ereg_replace("?","ы",$string);
$string = ereg_replace("?","А",$string);
$string = ereg_replace("?","Б",$string);
$string = ereg_replace("?","В",$string);
$string = ereg_replace("?","Г",$string);
$string = ereg_replace("?","Д",$string);
$string = ereg_replace("?","Е",$string);
$string = ereg_replace("?","A",$string);
$string = ereg_replace("?","Ж",$string);
$string = ereg_replace("?","З",$string);
$string = ereg_replace("?","И",$string);
$string = ereg_replace("?","Й",$string);
$string = ereg_replace("?","К",$string);
$string = ereg_replace("?","Л",$string);
$string = ereg_replace("?","М",$string);
$string = ereg_replace("?","Н",$string);
$string = ereg_replace("?","О",$string);
$string = ereg_replace("?","П",$string);
$string = ereg_replace("?","Р",$string);
$string = ereg_replace("?","С",$string);
$string = ereg_replace("?","Т",$string);
$string = ereg_replace("?","У",$string);
$string = ereg_replace("?","Ф",$string);
$string = ereg_replace("?","Х",$string);
$string = ereg_replace("?","Ц",$string);
$string = ereg_replace("?","Ш",$string);
$string = ereg_replace("?","Щ",$string);
$string = ereg_replace("?","Ъ",$string);
$string = ereg_replace("?","Ь",$string);
$string = ereg_replace("?","Э",$string);
$string = ereg_replace("?","Ю",$string);
$string = ereg_replace("?","Я",$string);
$string = ereg_replace("?","Ч",$string);
$string = ereg_replace("?","Ы",$string);
return $string;
}
из копрроротивных сорцов.
русланчик - хуйло
guest 10.04.2009 11:37 # +1
Что так слабо? Всего пол сотни символов охватил.. Ждем всю таблицу символов.. :)
guest 10.04.2009 12:37 # 0
собсно полностью: http://pastebin.com/f18fad4e4
guest 10.04.2009 17:18 # +1
а потом удивляются почему PHP такой медленный...
интересно этот "код" вручную набирался или сгерерился?