Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -1,10 +1,10 @@
|
|||
function u = urlencoding(s)
|
||||
u = '';
|
||||
for k = 1:length(s),
|
||||
if isalnum(s(k))
|
||||
u(end+1) = s(k);
|
||||
else
|
||||
u=[u,'%',dec2hex(s(k)+0)];
|
||||
end;
|
||||
end
|
||||
u = '';
|
||||
for k = 1:length(s),
|
||||
if isalnum(s(k))
|
||||
u(end+1) = s(k);
|
||||
else
|
||||
u=[u,'%',dec2hex(s(k)+0)];
|
||||
end;
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue