donboe — 2010-06-28T08:32:40-04:00 — #1
Wen I use copy and paste to add certain text to the database I get some strange characters like and . Is there an easy way to get undo that?
Thank you in advance
donboe — 2010-06-29T07:52:23-04:00 — #2
Hi James that link is very helpful I should have a look over there more often. Thanks a lot.
system — 2010-06-28T16:45:10-04:00 — #3
Check cflib.org. Here's 1 function for removing special characters created by MS Word, etc.. They may have more.
david_a — 2010-06-28T16:17:34-04:00 — #4
You could run a JS function searching for the special characters, you'll have to look up which ones are which. Or you could just tell the person that all text should be written in NotePad or WordPad.
donboe — 2010-06-28T16:03:50-04:00 — #5
I know that it comes from those word like programs and there lays my problem. I is for a site for someone else so It is very hard to control how they enter the text for their website. Is there not some kind of function that can replace those kind of characters?
david_a — 2010-06-28T13:25:43-04:00 — #6
Those typically happen when you go from Word or some other RTF editor to something simple that only uses plain text. Things likes
(Not actual character) should be ', so what you do is a find () and replace (') which will take care of everything like that. You may also need to do it for double quotes, and ellipses.