jacksondorado
IS-IT--Management
Using Pear i18n support for internationalization, I get this error in the apache error_log file
iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string in /usr/share/pear/Translation2/Container/xml.php on line 235
I have found suggestions to add //IGNORE or //TRANSLIT to the output charset declaration. My problem is that the output charset that causes the error is this function:
$source_encoding = strtoupper($data['languages'][$lang]['encoding']);
If I switch the strtoupper function with an explicit charset//IGNORE, I don't get an error anymore.
I don't know how to append //IGNORE or //TRANSLIT to an array object in the function. Any suggestions?
iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string in /usr/share/pear/Translation2/Container/xml.php on line 235
I have found suggestions to add //IGNORE or //TRANSLIT to the output charset declaration. My problem is that the output charset that causes the error is this function:
$source_encoding = strtoupper($data['languages'][$lang]['encoding']);
If I switch the strtoupper function with an explicit charset//IGNORE, I don't get an error anymore.
I don't know how to append //IGNORE or //TRANSLIT to an array object in the function. Any suggestions?