| Дата: Суббота, 08.09.2012, 13:54 | Сообщение # 1 |
Группа: Администраторы
Сообщений: 1530
| Русский алфавит
а,б,в,г,д,е,ё,ж,з,и,й,к,л,м,н,о,п,р,с,т,у,ф,х,ц,ч,ш,щ,ь,ы,ъ,э,ю,я
Русский алфавит в Юникод(виде)
%D0%B0,%D0%B1,%D0%B2,%D0%B3,%D0%B4,%D0%B5,%D1%91,%D0%B6,%D0%B7,%D0%B8,%D0%B9,%D0%BA,%D0%BB,%D0%BC,%D0%BD,%D0%BE,%D0%BF,%D1%80,%D1%81,%D1%82, %D1%83,%D1%84,%D1%85,%D1%86,%D1%87,%D1%88,%D1%89,%D1%8C,%D1%8B,%D1%8A,%D1%8D,%D1%8E,%D1%8F
Скрипт перекодировки (javascript)
<script type="text/javascript">
var s=document.URL.split("#"); var s1=(s[1]);
var cub1 = new Array("%D0%B0","%D0%B1","%D0%B2","%D0%B3","%D0%B4","%D0%B5","%D1%91","%D0%B6","%D0%B7","%D0%B8","%D0%B9","%D0%BA","%D0%BB","%D0%BC","%D0%BD" ,"%D0%BE","%D0%BF","%D1%80","%D1%81","%D1%82","%D1%83","%D1%84","%D1%85","%D1%86","%D1%87","%D1%88","%D1%89","%D1%8C","%D1%8B","%D1%8A","%D1 %8D","%D1%8E","%D1%8F");
var rub1= new Array("а","б","в","г","д","е","ё","ж","з","и","й","к","л","м","н","о", "п","р","с","т","у","ф","х","ц","ч","ш","щ","ь","ы","ъ","э","ю","я");
var s3="";
for(var i2=0;i2<s1.length/6;i2++) { var i3=i2*6; var s2=s1.substr(i3,6); for(var i=0;i<cub1.length;i++) { if(s2==cub1[i]) s3+=rub1[i]; } }
document.write(s3);
</script>
------------------------------------------------------------------------ Использован онлайн декодировщик http://www.design-sites.ru/utility/url-encoding.php
|
|
| |