#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 _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel