Not a developer? Go to MovableType.com

Plugin and Theme Directory

StripControlChars v0.3

By Jacques Distler
Posted August 1, 2004, in Design.

Details

Fixes control characters inadvertently entered into entries or comments by pasting text containing "smart quotes," etc.

This plugin is relevant only to blogs whose character-encoding is iso-8859-1. If you're using utf-8, you probably aren't encountering the problem this plugin set out to solve.

To Remove the control characters in your text:
<$MTEntryBody strip_controlchars="1"$>

To translate these (would-be) Windows-1252 characters into the corresponding numeric entities:
<$MTEntryBody strip_controlchars="2">


Back