ASP.net losing your pound sign?

Do you experience missing pound signs in your asp.net apps?

Recently I developed a website for a friend, http://www.kstar-academy.com

I noticed that his events had no pound signs in them. Upon further investigation I had determined that the £ sign would not be present in the form data posted back from the client. The solution for this is to change the request/response ending for the form or, more appropriately, for the whole site by changing the web.config file as follows

<system.web>

...

<globalization

fileEncoding="iso-8859-1"

requestEncoding="iso-8859-1"

responseEncoding="iso-8859-1"

/>

...

</system.web>

 

Share this article!

Follow us!

Find more helpful articles: