Is a url-encoded string html-safe (no injection possibilities)?
===

Let's say I have the following code on my view page (in asp.net mvc 3 razor):

    <a href='https://example.com/search?q=@Url.Encode(Model.UserInput)'>Click here</a>

`Model.UserInput` is a user input string that could contain any characters.  

Is this totally safe, in terms of html injection and cross site scripting?  I'm pretty sure that it is, but I wanted to check.

Of course, usually I'd eliminate dangerous input before this stage, but that's not the point.