### Eclipse Workspace Patch 1.0
#P drupal-5
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.611.2.6
diff -u -r1.611.2.6 common.inc
--- includes/common.inc	14 Jun 2007 06:11:12 -0000	1.611.2.6
+++ includes/common.inc	27 Jun 2007 07:54:13 -0000
@@ -1510,6 +1510,8 @@
       foreach ($type as $file => $cache) {
         if ($cache) {
           $contents = file_get_contents($file);
+          // Remove multiple charset declarations for standards compliance (and fixing Safari problems)
+          $contents = preg_replace('/^@charset\s+[\'"](\S*)\b[\'"];/i', '', $contents);
           // Return the path to where this CSS file originated from, stripping off the name of the file at the end of the path.
           $path = base_path() . substr($file, 0, strrpos($file, '/')) .'/';
           // Wraps all @import arguments in url().
