Index: trunk/phase3/includes/resourceloader/ResourceLoader.php |
— | — | @@ -360,9 +360,9 @@ |
361 | 361 | wfProfileOut( __METHOD__.'-getModifiedTime' ); |
362 | 362 | |
363 | 363 | if ( $context->getOnly() === 'styles' ) { |
364 | | - header( 'Content-Type: text/css' ); |
| 364 | + header( 'Content-Type: text/css; charset=utf-8' ); |
365 | 365 | } else { |
366 | | - header( 'Content-Type: text/javascript' ); |
| 366 | + header( 'Content-Type: text/javascript; charset=utf-8' ); |
367 | 367 | } |
368 | 368 | header( 'Last-Modified: ' . wfTimestamp( TS_RFC2822, $mtime ) ); |
369 | 369 | if ( $context->getDebug() ) { |