[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] How do you handle MS "smart quotes"?


Huffington Post had this issue with their MT installation and created
a plugin called Naughty Word Chars.[1] It was so popular that it was
essentially incorporated into MT4. What it does is run a series of
regexs over the content of an object before its saved to the database
replacing the "naughty characters" from Word to safe representations.
Those representations vary from ASCII to numeric entities to(I think)
UTF8 representations.

Anyway, it might provide some ideas and code. Naughty Word Chars is
GPL and most of MT will be there shortly.

<tim/>

[1] http://tech.huffingtonpost.com/2006/01/naughtywordchars.html

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.