Class HTMLPurifier_Encoder
A UTF-8 specific character encoder that handles cleaning and transforming.
Note:
All functions in this class should be static.
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/Encoder.php
Located at xoops_trust_path/libs/htmlpurifier/library/HTMLPurifier/Encoder.php
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
Array
|
#
testEncodingSupportsASCII( string $encoding, boolean $bypass = false )
This expensive function tests whether or not a given character encoding supports ASCII. 7/8-bit encodings like Shift_JIS will fail this test, and require special processing. Variable width encodings shouldn't ever fail. |