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 <textarea>
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 "&#160;".

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
                                

Reply via email to