1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 19:30:21 +02:00

Do checks against iconvAvailable because PHP 5.4 has botched iconv support.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
Edward Z. Yang
2012-10-27 02:27:57 -07:00
parent 83a574491e
commit c0ad68108a
4 changed files with 17 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
--SKIPIF--
if (!function_exists('iconv')) return true;
if (!HTMLPurifier_Encoder::iconvAvailable()) return true;
--INI--
Core.Encoding = Shift_JIS
--HTML--