--- /tmp/TYPO3core/typo3/sysext/cms/tslib/class.tslib_fe.php 2005-12-20 23:20:09.000000000 +1300 +++ typo3/sysext/cms/tslib/class.tslib_fe.php 2006-04-15 01:36:55.000000000 +1200 @@ -2684,10 +2684,10 @@ * @return void */ function processOutput() { - // Set header for charset-encoding unless disabled if (!$this->config['config']['disableCharsetHeader']) { - $headLine = 'Content-Type:text/html;charset='.trim($this->metaCharset); + $contentType = $this->config['config']['contentType'] ? trim($this->config['config']['contentType']) : 'text/html'; + $headLine = 'Content-Type:'.$contentType.';charset='.trim($this->metaCharset); header($headLine); }