Difference between revisions of "Cloud Service:Special Character Replacement"
Jump to navigation
Jump to search
(Created page with "Using the REST service may require that you encode certain characters using the proper URL entities before adding them to a URL. Characters like spaces, slashes, ampersands, a...") |
(No difference)
|
Latest revision as of 20:22, 6 July 2016
Using the REST service may require that you encode certain characters using the proper URL entities before adding them to a URL. Characters like spaces, slashes, ampersands, and others must be replaced by special codes, which usually consist of a percent sign followed by a two-digit hexadecimal number.
The following table shows the replacements for the most common characters.
Character | Encoding |
---|---|
Space | %20 or + |
* | %2A |
# | %23 |
& | %26 |
% | %25 |
$ | %28 |
+ | %2B |
, | %2C |
/ | %2F |
: | %3A |
; | %3B |
< | %3C |
= | %3D |
> | %3E |
? | %3F |
@ | %40 |
[ | %5B |
] | %5D |
~ | %7E |
& | & (ampersand) |
“ | " (left/right quotes should be replaced with straight quotes) |
‘ | ' (apostrophe) |
< | < (less-than) |
> | > (greater-than) |