Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5...
[lhc/web/wiklou.git] / includes / Revision.php
index fc9e8d3..3d9cedd 100644 (file)
@@ -400,13 +400,13 @@ class Revision {
         * @return string
         */
        function compressRevisionText( &$text ) {
-               global $wgCompressRevisions, $wgUseLatin1;
+               global $wgCompressRevisions;
                $flags = array();
-               if( !$wgUseLatin1 ) {
-                       # Revisions not marked this way will be converted
-                       # on load if $wgLegacyCharset is set in the future.
-                       $flags[] = 'utf-8';
-               }
+               
+               # Revisions not marked this way will be converted
+               # on load if $wgLegacyCharset is set in the future.
+               $flags[] = 'utf-8';
+               
                if( $wgCompressRevisions ) {
                        if( function_exists( 'gzdeflate' ) ) {
                                $text = gzdeflate( $text );