RE: Unwanted control characters in text area
Hmm, so you've switched it to an input text form and it doesnt do it? I've never heard of this either! The simplest fix is to simply replace it with nothing before inserting and updating. That kind of assumes you're never going to use it. DRE -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 3:25 PM To: CF-Talk Subject: RE: Unwanted control characters in text area Correct. The page is a form with about 12 fields - one of which is the text area that allows HTML entry (used in conjunction with the web editor). None of the other fields on the page present this problem, and I have never seen it before in any other application. -Original Message- From: Andre Turrettini [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:58 PM To: CF-Talk Subject: RE: Unwanted control characters in text area it does not appear from an input text box with everything else the same? DRE -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:41 PM To: CF-Talk Subject: RE: Unwanted control characters in text area Thanks Tony. But the problem is that these characters are appearing in the first place. These cause our generated content to look like crap, and not match what was entered. Specifically we end up seeing  all over the place (Â). However, this code does not appear anywhere in our entered data (nor does the 160), and is not initally present in our database records. There is no obvious reason for this character to be showing up at all. We've checked our code thoroughly, and narrowed it down to something relating to the tag, or in transferring the data from the database. This is the only place we see this problem at all. If it helps any the data we enter might originate from Ektron's eWebEditPro editor. Shawn -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:13 PM To: CF-Talk Subject: RE: Unwanted control characters in text area from http://www.efn.org/~gjb/asciidec.html 160 -- -- tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:05 PM To: CF-Talk Subject: Unwanted control characters in text area We have a text area that allows a user to enter HTML code. This works fine, but we are seeing unwanted characters added to the field value. Specifically the character " ". We have been unable to find where this character is comming from. The process is as follws: 1) user enters HTML in the text area (with or without the help of the eWebEditPro editor), 2) the data gets saved to the data base. 3) The page gets refreshed and pulls the field contents from the database. At this point we are seeing the extra characters in the field. I have been unable to determine if this happens when the data goes to the database, when it comes from the database, or when it's being rendered. The database records do not show any weird characters, but when we take the value and preview it (dump the field to an HTML page), the character appears. If the record get's saved again, the character itself WILL appear in the database, and previewing the new record in HTML shows this characrer plus an extra one before and after it. I just did a google search and didn't find anything relating to this issue (but maybe my search terms weren't quite right). So, I'm a little stumped. In the short term I'm searching for "&##160;" and replacing it with a space when I save my data, but this isn't fixing the cause of the prolbem. Any ideas? Shawn ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Unwanted control characters in text area
Correct. The page is a form with about 12 fields - one of which is the text area that allows HTML entry (used in conjunction with the web editor). None of the other fields on the page present this problem, and I have never seen it before in any other application. -Original Message- From: Andre Turrettini [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:58 PM To: CF-Talk Subject: RE: Unwanted control characters in text area it does not appear from an input text box with everything else the same? DRE -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:41 PM To: CF-Talk Subject: RE: Unwanted control characters in text area Thanks Tony. But the problem is that these characters are appearing in the first place. These cause our generated content to look like crap, and not match what was entered. Specifically we end up seeing  all over the place (Â). However, this code does not appear anywhere in our entered data (nor does the 160), and is not initally present in our database records. There is no obvious reason for this character to be showing up at all. We've checked our code thoroughly, and narrowed it down to something relating to the tag, or in transferring the data from the database. This is the only place we see this problem at all. If it helps any the data we enter might originate from Ektron's eWebEditPro editor. Shawn -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:13 PM To: CF-Talk Subject: RE: Unwanted control characters in text area from http://www.efn.org/~gjb/asciidec.html 160 -- -- tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:05 PM To: CF-Talk Subject: Unwanted control characters in text area We have a text area that allows a user to enter HTML code. This works fine, but we are seeing unwanted characters added to the field value. Specifically the character " ". We have been unable to find where this character is comming from. The process is as follws: 1) user enters HTML in the text area (with or without the help of the eWebEditPro editor), 2) the data gets saved to the data base. 3) The page gets refreshed and pulls the field contents from the database. At this point we are seeing the extra characters in the field. I have been unable to determine if this happens when the data goes to the database, when it comes from the database, or when it's being rendered. The database records do not show any weird characters, but when we take the value and preview it (dump the field to an HTML page), the character appears. If the record get's saved again, the character itself WILL appear in the database, and previewing the new record in HTML shows this characrer plus an extra one before and after it. I just did a google search and didn't find anything relating to this issue (but maybe my search terms weren't quite right). So, I'm a little stumped. In the short term I'm searching for "&##160;" and replacing it with a space when I save my data, but this isn't fixing the cause of the prolbem. Any ideas? Shawn ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Unwanted control characters in text area
it does not appear from an input text box with everything else the same? DRE -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 1:41 PM To: CF-Talk Subject: RE: Unwanted control characters in text area Thanks Tony. But the problem is that these characters are appearing in the first place. These cause our generated content to look like crap, and not match what was entered. Specifically we end up seeing  all over the place (Â). However, this code does not appear anywhere in our entered data (nor does the 160), and is not initally present in our database records. There is no obvious reason for this character to be showing up at all. We've checked our code thoroughly, and narrowed it down to something relating to the tag, or in transferring the data from the database. This is the only place we see this problem at all. If it helps any the data we enter might originate from Ektron's eWebEditPro editor. Shawn -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:13 PM To: CF-Talk Subject: RE: Unwanted control characters in text area from http://www.efn.org/~gjb/asciidec.html 160 -- -- tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:05 PM To: CF-Talk Subject: Unwanted control characters in text area We have a text area that allows a user to enter HTML code. This works fine, but we are seeing unwanted characters added to the field value. Specifically the character " ". We have been unable to find where this character is comming from. The process is as follws: 1) user enters HTML in the text area (with or without the help of the eWebEditPro editor), 2) the data gets saved to the data base. 3) The page gets refreshed and pulls the field contents from the database. At this point we are seeing the extra characters in the field. I have been unable to determine if this happens when the data goes to the database, when it comes from the database, or when it's being rendered. The database records do not show any weird characters, but when we take the value and preview it (dump the field to an HTML page), the character appears. If the record get's saved again, the character itself WILL appear in the database, and previewing the new record in HTML shows this characrer plus an extra one before and after it. I just did a google search and didn't find anything relating to this issue (but maybe my search terms weren't quite right). So, I'm a little stumped. In the short term I'm searching for "&##160;" and replacing it with a space when I save my data, but this isn't fixing the cause of the prolbem. Any ideas? Shawn ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Unwanted control characters in text area
Thanks Tony. But the problem is that these characters are appearing in the first place. These cause our generated content to look like crap, and not match what was entered. Specifically we end up seeing  all over the place (Â). However, this code does not appear anywhere in our entered data (nor does the 160), and is not initally present in our database records. There is no obvious reason for this character to be showing up at all. We've checked our code thoroughly, and narrowed it down to something relating to the tag, or in transferring the data from the database. This is the only place we see this problem at all. If it helps any the data we enter might originate from Ektron's eWebEditPro editor. Shawn -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:13 PM To: CF-Talk Subject: RE: Unwanted control characters in text area from http://www.efn.org/~gjb/asciidec.html 160 -- -- tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:05 PM To: CF-Talk Subject: Unwanted control characters in text area We have a text area that allows a user to enter HTML code. This works fine, but we are seeing unwanted characters added to the field value. Specifically the character " ". We have been unable to find where this character is comming from. The process is as follws: 1) user enters HTML in the text area (with or without the help of the eWebEditPro editor), 2) the data gets saved to the data base. 3) The page gets refreshed and pulls the field contents from the database. At this point we are seeing the extra characters in the field. I have been unable to determine if this happens when the data goes to the database, when it comes from the database, or when it's being rendered. The database records do not show any weird characters, but when we take the value and preview it (dump the field to an HTML page), the character appears. If the record get's saved again, the character itself WILL appear in the database, and previewing the new record in HTML shows this characrer plus an extra one before and after it. I just did a google search and didn't find anything relating to this issue (but maybe my search terms weren't quite right). So, I'm a little stumped. In the short term I'm searching for "&##160;" and replacing it with a space when I save my data, but this isn't fixing the cause of the prolbem. Any ideas? Shawn ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Unwanted control characters in text area
from http://www.efn.org/~gjb/asciidec.html 160 -- -- tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:05 PM To: CF-Talk Subject: Unwanted control characters in text area We have a text area that allows a user to enter HTML code. This works fine, but we are seeing unwanted characters added to the field value. Specifically the character " ". We have been unable to find where this character is comming from. The process is as follws: 1) user enters HTML in the text area (with or without the help of the eWebEditPro editor), 2) the data gets saved to the data base. 3) The page gets refreshed and pulls the field contents from the database. At this point we are seeing the extra characters in the field. I have been unable to determine if this happens when the data goes to the database, when it comes from the database, or when it's being rendered. The database records do not show any weird characters, but when we take the value and preview it (dump the field to an HTML page), the character appears. If the record get's saved again, the character itself WILL appear in the database, and previewing the new record in HTML shows this characrer plus an extra one before and after it. I just did a google search and didn't find anything relating to this issue (but maybe my search terms weren't quite right). So, I'm a little stumped. In the short term I'm searching for "#160;" and replacing it with a space when I save my data, but this isn't fixing the cause of the prolbem. Any ideas? Shawn ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4