Results 1 to 1 of 1

Thread: default_export_charset error when exporting

  1. #1
    johnmd is offline Junior Member
    Join Date
    May 2007
    Posts
    1

    Default default_export_charset error when exporting

    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 &quot;0&quot; 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
    Last edited by johnmd; 2008-10-19 at 04:41 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Exporting and Updating Errors
    By dawnm in forum Help
    Replies: 0
    Last Post: 2008-04-04, 10:08 PM
  2. Exporting and Publishing the Package/Module
    By SoftDev in forum Developer Help
    Replies: 1
    Last Post: 2007-12-20, 08:46 AM
  3. Exporting the content of prospect lists
    By naag in forum Developer Help
    Replies: 1
    Last Post: 2007-07-31, 10:17 PM
  4. Trouble exporting accounts
    By AlexT in forum General Discussion
    Replies: 0
    Last Post: 2006-08-17, 02:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •