While posting a string containing & symbol to facebook, in facebook page it is displaying the string content before the & symbol and the string after the & symbol is missing(including &). Any Idea ... Please Help,Thanks in advance
Asked
Active
Viewed 36 times
-1
-
Try using & instead. – StuStirling May 23 '14 at 11:12
-
already tried but not working – Madhu May 23 '14 at 11:13
-
1Or possibly `%26` as stated in the answer to this question http://stackoverflow.com/questions/16622504/escaping-ampersand-in-url – StuStirling May 23 '14 at 11:18
1 Answers
2
URL encode the &
as %26
.
Consider using URLEncoder
to encode other special characters, too.
As such the &
is a URL metacharacter that separates parameters from each other.

laalto
- 150,114
- 66
- 286
- 303