From 1b013f55e3df0492b57625ba3761660e16287500 Mon Sep 17 00:00:00 2001 From: arino Date: Sat, 5 Jul 2003 14:18:06 +0900 Subject: [PATCH] =?utf8?q?mb=5Fconvert=5Fvariables=E3=81=8C=E6=96=87?= =?utf8?q?=E5=AD=97=E5=88=97/=E9=85=8D=E5=88=97=E3=82=92=E5=8F=97=E3=81=91?= =?utf8?q?=E3=82=89=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mbstring.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mbstring.php b/mbstring.php index 994e46b..1dd10be 100644 --- a/mbstring.php +++ b/mbstring.php @@ -2,7 +2,7 @@ ///////////////////////////////////////////////// // PukiWiki - Yet another WikiWikiWeb clone. // -// $Id: mbstring.php,v 1.2 2003/07/05 04:46:35 arino Exp $ +// $Id: mbstring.php,v 1.3 2003/07/05 05:18:06 arino Exp $ // /* @@ -57,10 +57,7 @@ function mb_convert_variables($to_encoding,$from_encoding,&$vars) } if ($from_encoding != 'ASCII' and $from_encoding != SOURCE_ENCODING) { - foreach ($vars as $key=>$value) - { - $vars[$key] = mb_convert_encoding($value,$to_encoding,$from_encoding); - } + $vars = mb_convert_encoding($vars,$to_encoding,$from_encoding); } return $from_encoding; } -- 2.11.0