• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
StripControlChars


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">

Leave a comment

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.