I doubt this will get fixed (unless it is also an issue in D7 - I have not yet tested this), but I have spent hours locating it and so at least I want to document it so it can help others.

I was testing a sub-theme and its base theme, and found that when CSS Optimization was switched on (at admin/settings/performance), the contents of the base theme were not being included in the optimized CSS file. I tracked it down to a comment in the base theme CSS file which was written in German and included the character ä. Removing this character from the comment caused the contents of this CSS file (after clearing cache!) to be correctly included in the optimized CSS file.

I've no idea what causes this but even if non-ASCII characters are not allowed in CSS, surely they should be safely ignored if they are in comments? Or perhaps something strange happens to the file overall if it contains non-ASCII characters.

Comments

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.