A UTF-8 specific character encoder that handles cleaning and transforming.
A UTF-8 specific character encoder that handles cleaning and transforming.
Located in /library/HTMLPurifier/Encoder.php (line 7)
Cleans a UTF-8 string for well-formedness and SGML validity It will parse according to UTF-8 and return a valid UTF8 string, with non-SGML codepoints excluded.
Cleans a UTF-8 string for well-formedness and SGML validity It will parse according to UTF-8 and return a valid UTF8 string, with non-SGML codepoints excluded.
Converts a string from UTF-8 based on configuration.
Converts a string from UTF-8 based on configuration.
Lossless (character-wise) conversion of HTML to ASCII
Lossless (character-wise) conversion of HTML to ASCII
Converts a string to UTF-8 based on configuration.
Converts a string to UTF-8 based on configuration.
This expensive function tests whether or not a given character encoding supports ASCII. fail this test, and require special processing. encodings shouldn't ever fail.
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.
Translates a Unicode codepoint into its corresponding UTF-8 character.
Translates a Unicode codepoint into its corresponding UTF-8 character.
Documentation generated on Thu, 19 Jun 2008 18:49:08 -0400 by phpDocumentor 1.4.2