Skip to content
Snippets Groups Projects
Commit c99ac791 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Revert some of the UTF8 changes, use UTF8 only for files we know are UTF8

So we use ordinary read/writeFile for ordinary text files. For console
output we use ordinary putStr etc and we'll just hope that haskell
implementations catch up and deal with that sensibly. Don't assume
captured program output is UTF8, use the default encoding.
So we use binary mode IO along with UTF8 encoding and decoding only for 
file types that we specify to be UTF8, which are .cabal files and
.hs/.lhs files only.
parent 8c5ca96a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment