? .directory
? boost-797136.patch
? boost-800408.patch
? boost-status-1.patch
Index: boost.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.admin.inc,v
retrieving revision 1.1.2.1.2.3.2.148
diff -u -p -r1.1.2.1.2.3.2.148 boost.admin.inc
--- boost.admin.inc	27 Aug 2010 17:53:44 -0000	1.1.2.1.2.3.2.148
+++ boost.admin.inc	27 Aug 2010 18:18:50 -0000
@@ -187,6 +187,12 @@ function boost_admin_boost_performance_p
     '#default_value' => BOOST_ONLY_ASCII_PATH,
     '#description'   => t('Only allowing ACSII characters is a safe way to cache pages. It severely limits i18n support so this can be turned off. Fair warning, disabling this may cause "page not found" errors depending on your url structure (spaces are bad, ect...). If you follow RFC 3986 you should be ok.'),
   );
+  $form['cacheability']['boost_set_file_encoding'] = array(
+    '#type'          => 'textfield',
+    '#title'         => t('Convert the filename to this encoding'),
+    '#default_value' => BOOST_SET_FILE_ENCODING,
+    '#description'   => t('Use iconv to change the filename before its saved to disk. Odds are you will not need to set this. Example: CP1255 !link', array('!link' => l('http://php.net/iconv', 'http://php.net/iconv'))),
+  );
 
   // Assumes fatal errors are fatal, thus the script will never get past the error.
   // http://php.net/errorfunc.constants
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.366
diff -u -p -r1.3.2.2.2.5.2.366 boost.module
--- boost.module	27 Aug 2010 17:40:04 -0000	1.3.2.2.2.5.2.366
+++ boost.module	27 Aug 2010 18:18:51 -0000
@@ -64,6 +64,7 @@ define('BOOST_PRE_PROCESS_FUNCTION', var
 define('BOOST_EXIT_IN_HOOK_EXIT',    variable_get('boost_exit_in_hook_exit', TRUE));
 define('BOOST_FLUSH_ALL_MULTISITE',  variable_get('boost_flush_all_multisite', TRUE));
 define('BOOST_ONLY_ASCII_PATH',      variable_get('boost_only_ascii_path', TRUE));
+define('BOOST_SET_FILE_ENCODING',    variable_get('boost_set_file_encoding', ''));
 define('BOOST_AGGRESSIVE_COOKIE',     variable_get('boost_aggressive_cookie', TRUE));
 define('BOOST_ASYNCHRONOUS_OUTPUT',  variable_get('boost_asynchronous_output', TRUE));
 define('BOOST_FLUSH_DIR',            variable_get('boost_flush_dir', FALSE));
@@ -3570,6 +3571,9 @@ function boost_cache_write($filename, $b
       $data = $buffer;
     }
     foreach ($values as $filename) {
+      if (!empty(BOOST_SET_FILE_ENCODING)) {
+        $filename = iconv("UTF-8", BOOST_SET_FILE_ENCODING, $filename);
+      }
       if (!_boost_mkdir_p(dirname($filename))) {
         if (BOOST_VERBOSE >= 3) {
           watchdog('boost', 'Unable to create directory: %dir<br /> Group ID: %gid<br /> User ID: %uid<br /> Current script owner: %user<br />', array('%dir' => dirname($filename), '%gid' => getmygid(), '%uid' => getmyuid(), '%user' => get_current_user()), WATCHDOG_WARNING);
