On Thu, 2010-08-19 at 11:24 -0400, Marc Guay wrote:

> I would chalk this up to that fancy, extra-curly, apostrophe that you
> get when copying and pasting text from Microsoft Word or similar.
> Marc
> 


The characters Microsoft software introduces don't play nice with
non-Microsoft software, and cause a lot of problems like this for
web-based systems. If it helps, I wrote a small function to replace the
'bad' characters with the correct ones:

http://ashleysheridan.co.uk/coding/php/Remove_Rubbish_Microsoft_Markup

It can also remove the extra meta info stuff that seems to get thrown in
when you copy large amounts of text into a rich-text editor, as this
often breaks the display of content in non-MS browsers, although that is
a little experimental at the moment, as I've not really had the time to
test it exhaustively.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to