mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
4c502b25f2
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1537 48356398-32a2-884e-a903-53898d9a118a
13 lines
557 B
Plaintext
13 lines
557 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!
|