}
if
(
strtoupper
(
$encoding
) ==
strtoupper
(
$outEncoding
))
return
$string
;
else
returniconv(
$encoding
,
$outEncoding
,
$string
);
}