Re: [Hackage] #922: “lexical error (UTF-8 decoding error)” in WIndows 7
Hackage
cvs-ghc at haskell.org
Thu Apr 12 22:56:59 CEST 2012
#922: “lexical error (UTF-8 decoding error)” in WIndows 7
---------------------------------+------------------------------------------
Reporter: hamukazu | Owner:
Type: defect | Status: new
Priority: normal | Milestone: cabal-install-0.14
Component: cabal-install tool | Version: HEAD
Severity: minor | Keywords: UTF-8
Difficulty: unknown | Ghcversion:
Platform: Windows |
---------------------------------+------------------------------------------
Comment(by duncan):
Looks like cpp is outputting text that is not ASCII or UTF8. This then
blows up because ghc expects .hs files to be UTF8.
Cabal can perhaps work around this cpp quirk by calling ghc/cpp with
LANG=C.
The new program launching utils in Cabal should make it easier to set env
vars like this.
It'd be useful if someone could confirm this hypothesis.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/922#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list