[pmwiki-users] convert characters to HTML entities when pasting from Word

Peter Bowers pbowers at pobox.com
Fri Jun 27 16:58:06 CDT 2008


On Fri, Jun 27, 2008 at 4:48 AM, John Rankin <john.rankin at affinity.co.nz> wrote:
> When you copy and paste content from Microsoft Word into
> a wiki edit form, non-standard ascii characters such as
> curly quotes, em and en dashes, and ellipsis come across
> as themselves, rather than as the correct HTML entities.
> Has anyone created a set of ROSPatterns to turn such
> characters into their corresponding entities?

You've probably already looked at these, but just for reference for an
alternate approach:

http://www.pmwiki.org/wiki/Cookbook/WordPaste (there's a macro partway down)
http://www.pmwiki.org/wiki/Cookbook/Word2PmWiki

-Peter



More information about the pmwiki-users mailing list