Class Horde_Text_Filter_Cleanascii
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.
Copyright 2004-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Text_Filter_Base
- Horde_Text_Filter_Cleanascii
Package: Text\Filter
Category: Horde
License: LGPL 2.1
Author: Jan Schneider jan@horde.org
Located at Horde/Text/Filter/Cleanascii.php
Category: Horde
License: LGPL 2.1
Author: Jan Schneider jan@horde.org
Located at Horde/Text/Filter/Cleanascii.php
public
string
|
|
public
array
|
__construct(),
postProcess()
|