[imp] MIME attachment filename encoding is fixed to utf-8

ssoo at siliconfile.com ssoo at siliconfile.com
Wed Apr 13 00:13:14 PDT 2005


In function getCharset() of horde/lib/Horde/NLS.php
MIME attachment filename encoding is fixed to utf-8.

After commenting out that part,
I can save a file having Korean character in name at MSIE.


Below is a part of NLS.php:

function getCharset($original = false)
{
 ...
  require_once 'Horde/Browser.php';
  $browser = &Browser::singleton();

  //if ($browser->hasFeature('utf') &&
      //(Util::extensionExists('iconv') ||
       //Util::extensionExists('mbstring'))) {
     //$charset = 'UTF-8';
   //}
  }
 ...
}

Is there any reason to fix charset to UTF-8?



More information about the imp mailing list