id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
922,“lexical error (UTF-8 decoding error)” in WIndows 7,hamukazu,,"==== Symptom ====
When I type
> cabal install cabal
it fails with the following error:
> Distribution\Compat\Exception.hs:0:4: lexical error (UTF-8 decoding error)

==== Environment ====
It happens with 64 bit version of Windows 7.

It came to occur after I failed to install HXT. (I am not sure it is related.)

==== Workaround ====
By setting
> set LANG=C
in command line, cabal comes to work.

I regard this is just a workaround and this issue should be reported as a bug.

==== Related links ====
http://stackoverflow.com/questions/9371438/cabal-install-complains-built-in04-lexical-error-utf-8-decoding-error/9533205#9533205
http://trac.haskell.org/network/ticket/43",defect,new,normal,cabal-install-0.16,cabal-install tool,HEAD,minor,,UTF-8,,unknown,,Windows
