]> granicus.if.org Git - php/commitdiff
make sure mbstring doesn't screw stuff
authorGreg Beaver <cellog@php.net>
Mon, 2 Jan 2006 15:24:33 +0000 (15:24 +0000)
committerGreg Beaver <cellog@php.net>
Mon, 2 Jan 2006 15:24:33 +0000 (15:24 +0000)
pear/install-pear.php

index 5671950fdff16fea9aa0ca5c2177a69de0bb6a47..1251b6874cec1679d5ab445bfe0accf4a202f50c 100644 (file)
@@ -5,6 +5,9 @@
 error_reporting(E_ALL);
 $pear_dir = dirname(__FILE__);
 ini_set('include_path', $pear_dir);
+if (function_exists('mb_internal_encoding')) {
+    mb_internal_encoding('ASCII');
+}
 set_time_limit(0);
 include_once 'PEAR.php';
 include_once 'PEAR/Installer.php';