Skip to content

load in GHCi doesn't work with UTF-8 filenames

When I try to load a file with a UTF-8 character, I got:

Prelude> :load Público/codigo/haskell/Hora.hs

<no location info>: can't find file: P�blico/codigo/haskell/Hora.hs

With the command line it goes fine:

malebria@quindinho:~$ ghci Público/codigo/haskell/Hora.hs
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
[1 of 1] Compiling Hora             ( Público/codigo/haskell/Hora.hs, interpreted )
Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information