- 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
function urldecode(code) {
code = escape(code);
code = code.replace(/\+/g,' ');
code = code.replace(/%21/g,'!');
code = code.replace(/%22/g,'"');
code = code.replace(/%23/g,'#');
code = code.replace(/%24/g,'$');
code = code.replace(/%2D/g,'-');
code = code.replace(/%5E/g,'^');
code = code.replace(/%26/g,'&');
code = code.replace(/%B9/g,'№');
code = code.replace(/%3B/g,';');
code = code.replace(/%25/g,'%');
code = code.replace(/%3A/g,':');
code = code.replace(/%3F/g,'?');
code = code.replace(/%28/g,'(');
code = code.replace(/%29/g,')');
code = code.replace(/%BF/g,'ї');
code = code.replace(/%AF/g,'Ї');
code = code.replace(/%B3/g,'і');
code = code.replace(/%B2/g,'І');
code = code.replace(/%BA/g,'є');
code = code.replace(/%AA/g,'Є');
code = code.replace(/%C0/g,'А');
[от ^ до \/]
code = code.replace(/%DF/g,'Я');
code = code.replace(/%E0/g,'а');
[аналогично]
code = code.replace(/%FF/g,'я');
return code;
}