My RSS Feed keeps breaking from pasted MS Word “smart” characters. How can I filter them out of a rich-text field?

35 pts.
Tags:
Lotus Notes 8.5.2
RSS feed
I have an older application that publishes an RSS feed.  The content of the <description> element is an abstract from a RichText field.  It appears I have a recurring problem with users pasting in content from MS Word that contain characters XML parsers can't handle.

Is there a simple (or even not so simple) way to scrub the RichText field and replace/delete these characters?  Currently I am doing a substitution for higher ASCII values (ie: —) and CDATA tags.

I've also changed the encoding from UTF 8 to iso-8859-1 but this hasn't cured the underlying problem.

Be glad to kiss the virtual feet for a solution...  :-)



Software/Hardware used:
Lotus Notes/Domino 8.5.2

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following