Removes some common entities and high-ascii or otherwise nonstandard characters common in text pasted from Microsoft Word into a browser.
This function should NOT be used on non-ASCII text; it may and probably will butcher other character sets indescriminately. Use it only to clean US-ASCII (7-bit) text which you suspect (or know) may have invalid or non-printing characters in it.
$Horde: framework/Text_Filter/Filter/cleanascii.php,v 1.3.2.8 2009/01/06 15:23:42 jan Exp $
Copyright 2004-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Text_Filter/Filter/cleanascii.php (line 22)
Text_Filter | --Text_Filter_cleanascii
Returns a hash with replace patterns.
Executes any code necessary before applying the filter patterns.
Inherited From Text_Filter
Text_Filter::Text_Filter()
Text_Filter::factory()
Text_Filter::filter()
Text_Filter::getPatterns()
Text_Filter::postProcess()
Text_Filter::preProcess()
Documentation generated on Sun, 30 Jan 2011 05:15:47 +0000 by phpDocumentor 1.4.3