mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-24 09:11:52 +00:00
6bb8c1fcac
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
13 lines
545 B
Plaintext
13 lines
545 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!
|