[Haskell-cafe] Same compiled program behaving differently when
called from ghci and shell
llama at ruomad.net
Sun Nov 21 13:28:20 EST 2010
Le 21/11/10 17:21, Manlio Perillo a écrit :
> Il 21/11/2010 06:49, Bruno Damour ha scritto:
>> I have a very strange (for me) problem that I manage to reduce to this :
>> I have a small program that reads a file with 1 only character (è = e8)
>> The program is ftest2.hs :
>> The only difference I can see is the codepage used.
>> The Windows console use codepage 850:
>> Instead the default codepage of Windows for western languages is 1252.
Of course you're right but that was a surprise to me...
Page de codes active: 1252
Page de codes active : 850
Quite treacherous IMHO ? Or what
More information about the Haskell-Cafe