PHP 5 Fast CGI : include iconv?

software development

#1

I have a joomla component, Acajoom plus, that uses a PHP Script to encode into UTF-8.
It’s calling for iconv in the PHP 5 Library.
I don’t know how to verify if that’s in there or not. I’m running PHP 5 Fast CGI.

The error I get is: Fatal error: Call to undefined function: iconv() in /home…/compa.php

Line 105 contains: return iconv(“ISO-8859-2”, “UTF-8”, $string);

The entire section contains:

function encodeutf($string){
if(ACA_CMSTYPE){ //j15
if ( empty($GLOBALS[ACA.‘mail_encoding’]) ) {
return iconv(“ISO-8859-2”, “UTF-8”, $string);
} else {
return $string;
}//endif

// return utf8_encode($string); - this is a bug - this function uses 8859-1
}else{
return $string; //j1x
}