[GHC] #2244: load in GHCi doesn't work with UTF-8 filenames

GHC trac at galois.com
Sun Apr 27 13:04:25 EDT 2008


#2244: load in GHCi doesn't work with UTF-8 filenames
-------------------------+--------------------------------------------------
    Reporter:  malebria  |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Component:  GHCi   
     Version:  6.8.2     |    Severity:  minor  
    Keywords:            |    Testcase:         
Architecture:  Unknown   |          Os:  Unknown
-------------------------+--------------------------------------------------
 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 at 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 )

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2244>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list