Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,6 +1,9 @@
|
|||
The task is to provide a function or mechanism to convert a provided string into URL encoding representation.
|
||||
The task is to provide a function or mechanism to convert a provided string
|
||||
into URL encoding representation.
|
||||
|
||||
In URL encoding, special characters, control characters and extended characters are converted into a percent symbol followed by a two digit hexadecimal code, So a space character encodes into %20 within the string.
|
||||
In URL encoding, special characters, control characters and extended characters
|
||||
are converted into a percent symbol followed by a two digit hexadecimal code,
|
||||
So a space character encodes into %20 within the string.
|
||||
|
||||
For the purposes of this task, every character except 0-9, A-Z and a-z requires conversion, so the following characters all require conversion by default:
|
||||
|
||||
|
|
@ -22,10 +25,9 @@ The string "<code><nowiki>http://foo bar/</nowiki></code>" would be encoded as "
|
|||
|
||||
'''Options'''
|
||||
|
||||
It is permissible to use an exception string (containing a set of symbols that do not need to be converted). However, this is an optional feature and is not a requirement of this task.
|
||||
|
||||
'''See also'''
|
||||
It is permissible to use an exception string (containing a set of symbols
|
||||
that do not need to be converted).
|
||||
However, this is an optional feature and is not a requirement of this task.
|
||||
|
||||
;See also
|
||||
[[URL decoding]]
|
||||
|
||||
[[Category:String manipulation]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue