mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
12b811d749
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
14 lines
567 B
Plaintext
14 lines
567 B
Plaintext
Core.EscapeNonASCIICharacters
|
|
TYPE: bool
|
|
VERSION: 1.4.0
|
|
DEFAULT: false
|
|
--DESCRIPTION--
|
|
This directive overcomes a deficiency in %Core.Encoding by blindly
|
|
converting all non-ASCII characters into decimal numeric entities before
|
|
converting it to its native encoding. This means that even characters that
|
|
can be expressed in the non-UTF-8 encoding will be entity-ized, which can
|
|
be a real downer for encodings like Big5. It also assumes that the ASCII
|
|
repetoire is available, although this is the case for almost all encodings.
|
|
Anyway, use UTF-8!
|
|
--# vim: et sw=4 sts=4
|