mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
d3c04de9dc
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1575 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!
|