This is a discussion on "Cannot Submit Special Characters from Input Fields" within the ASP.NET Forum section. This forum, and the thread "Cannot Submit Special Characters from Input Fields are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Cannot Submit Special Characters from Input Fields
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi all,
I'm having a strange error with ASP.NET that doesn't happen with classic ASP. I have a form with an input field and a textarea. I type in a string such as: "$200 dollars and £100 pounds" to either of these fields. When I click the submit button it should display the output on the page. The following text appears instead: "$200 dollars and 100 pounds" It seems that it is only submitting special ASCII characters and ignores the good ol' British pound sign. Has anyone else had this problem? Obviously I would have liked to search Google on this issue, but Google seems to ignore £ signs and if i type "pound sign" into Google, you get all this information about hash symbols (#) for some reason. Thanks for any replies, Steve |
|
|
|
|||
|
Re: Cannot Submit Special Characters from Input Fields
I have now figured out what was wrong. Macromedia Dreamweaver has annoyingly put this line at the top of the page
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> ...which meant that £'s were missed out in the response. I then removed the response encoding value to reset it to the default... <%@ Page Language="VB" ContentType="text/html" %> ...and everything is now OK. I could also set the value to utf-8, but that's the default anyway. Hope this helps someone. Steve |
![]() |
| Tags |
| cannot, submit, special, characters, input, fields |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fgetcsv problem with special characters | pwbiggs | PHP Forum | 1 | Apr 27th, 2008 19:25 |
| Get var not working with special characters | skuliaxe | PHP Forum | 0 | Mar 30th, 2008 22:35 |
| FLASH - validating input fields if empty before clicking submit button | kyutkb | Flash & Multimedia Forum | 3 | Jul 24th, 2007 15:38 |
| passing search data to d/b via a hyperlink and without input fields | Colm Osiris | Databases | 5 | May 23rd, 2006 11:38 |
| Firefox 1.0.6 - strange input fields color | blankconcept | Web Page Design | 3 | May 9th, 2006 15:35 |