
24 Feb
2010
24 Feb
'10
6:35 a.m.
Simon Marlow schrieb:
Both Cabal and ghc-pkg explicitly use UTF-8 for handling .cabal and package configuration files, so if you end up with a Latin-1 file in your package database then something has gone wrong. If anyone can reproduce this problem then please submit a ticket.
Indeed, I have a latin-1 file
/local/maeder/lib/ghc-6.13.20100211/package.conf.d/syb-0.1.0.3-2d8f18fd3343792a85816b191d973cea.conf:
ISO-8859 English text
and my (accidental) setting is:
LANG=de_DE@euro LANGUAGE= LC_ALL=C
And you got that by just 'cabal install syb'? What version of cabal-install? (cabal --version)
No, just by the Setup, configure, build, install procedure. "ghc-pkg describe syb" and "ghc-pkg dump" create UTF-8 output. Christian