Hello
I am running 3.5.1a on Apache/2.2.3,with PHP 5.2.2 (cli) (built: Oct 15 2007 16:22:11),I am having a difficulty with exporting and importing contacts.I am getting the following error.
<b>Warning</b>: mb_convert_encoding() [<a href='function.mb-convert-encoding'>function.mb-convert-encoding</a>]: Unknown encoding "0" in <b>/var/www/html/crm/include/Localization/Localization.php</b> on line <b>308</b><br />
in php.ini the default_charset = "ISO-8859-1"
in Localization.php the settings are
var $default_export_charset = 'ISO-8859-1'; // not camel hump to match sugar_config's
var $default_email_charset = 'ISO-8859-1';
However when I try to export I am still getting the same error.I know this is something simple,but having searched the fourms,Icannot seem to find an answer to the same,additionally I note that further down in the Localization.php,there are mentions of UTF-8.
$strings[$k] = $this->translateCharset($v, 'UTF-8', $charset);
return $this->translateCharset($var, 'UTF-8', $this->getOutboundEmailCharset());
$bean->$k = $this->translateCharset($bean->$k, 'UTF-8', $this->getExportCharset());
* @param string toCharset the charset to translate into (defaults to UTF-8)
function translateCharset($string, $fromCharset, $toCharset='UTF-8') {
function translateCharsetMIME($string, $fromCharset, $toCharset='UTF-8', $encoding="Q") {
I am not sure if I need to, or should change these as the actual Database_Collation is set for utf8_general_ci
under the web front end/Localization settings screen.
Any help wpuld be greatly appreciated.
Also trying to install Zucar reports and some other modules also seems to fail?
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks