Remove "Warning: default encoding has changed from Latin-1 to UTF-8"

The warning is about a change that was made in GF 3.6 (June 2014) and has
probably outlived its purpose by now.
This commit is contained in:
Thomas Hallgren
2018-01-23 14:55:33 +01:00
parent 96adbebca8
commit 5164951e23

View File

@@ -52,9 +52,11 @@ getSourceModule opts file0 =
let mi =mi0 {mflags=mflags mi0 `addOptions` opts, msrc=file0}
optCoding' = renameEncoding `fmap` flag optEncoding (mflags mi0)
case (optCoding,optCoding') of
{-
(Nothing,Nothing) ->
unless (BS.all isAscii raw) $
ePutStrLn $ file0++":\n Warning: default encoding has changed from Latin-1 to UTF-8"
-}
(_,Just coding') ->
when (coding/=coding') $
raise $ "Encoding mismatch: "++coding++" /= "++coding'