iconv_strpos() - error
Posted: Fri Jul 03, 2009 6:27 am
Hi all,
Im looking for some help with this bit of code:
if (iconv_strpos($format, '¤') === 0) {
$position = self::LEFT;
} else if (iconv_strpos($format, '¤') === (iconv_strlen($format) - 1)) {
$position = self::RIGHT;
}
return $position;
}
This is a direct download from the Magento cart site, but when i open it on my site i get and error:
Notice: iconv_strpos() [function.iconv-strpos]: Detected an illegal character in input string in /content/.../.../i.../...co.uk/web/TEST_ENVIRONMENT/masons/lib/Zend/Currency.php on line 139
Im guessing the illegal characters are the square things, can someone tell me what they are meant to be please???
Thanks in advance
Grant
Im looking for some help with this bit of code:
if (iconv_strpos($format, '¤') === 0) {
$position = self::LEFT;
} else if (iconv_strpos($format, '¤') === (iconv_strlen($format) - 1)) {
$position = self::RIGHT;
}
return $position;
}
This is a direct download from the Magento cart site, but when i open it on my site i get and error:
Notice: iconv_strpos() [function.iconv-strpos]: Detected an illegal character in input string in /content/.../.../i.../...co.uk/web/TEST_ENVIRONMENT/masons/lib/Zend/Currency.php on line 139
Im guessing the illegal characters are the square things, can someone tell me what they are meant to be please???
Thanks in advance
Grant