0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-09 15:28:40 +00:00

Attribute unichr().

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@125 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-07-29 17:42:11 +00:00
parent 9b7ad89ab5
commit f881061d5f

View File

@ -15,6 +15,7 @@ $entity_dir = '../docs/entities/';
// defines the output file for the serialized content.
$output_file = '../library/HTMLPurifier/EntityLookup/data.txt';
// courtesy of a PHP manual comment
function unichr($dec) {
if ($dec < 128) {
$utf = chr($dec);