Thanks for the replay.
So you meant to say if we are output that variable into the browser which will allways give the encoded version(that is "&"). Please correct me if I am wrong or I understood in different way.
Here I am getting different results in different environments that is , I am getting "&" in one browser in QA environment and just "&" in same browser(IE) but in development environment.