lucy24 - 11:36 pm on Nov 24, 2012 (gmt 0)
Never use a space though. I remember (this happened several times) when a link is transferred (perhaps via email - I can't remember right now) that the space was replaced with several characters
All characters except a very short list are percent-encoded. Space is %20. Percent itself is %25. (You'll see this in nested query strings that have been encoded twice.) But generally they are disencoded on arrival; the user does not know or care whether you've got an explicit function to deal with it, or the browser and/or server does it on its ownsome.
If you ever post a link on a forum-- not this one, duh, but forums that allow links-- and it doesn't work, try percent-encoding any unusual characters like parentheses. Works a treat. (For the two people who didn't already know: It's percent followed by the hexadecimal number of the character. For example %3C paired with %3F in language of your choice.)