[GHC] #2244: load in GHCi doesn't work with UTF-8 filenames
GHC
trac at galois.com
Sat May 3 08:43:44 EDT 2008
#2244: load in GHCi doesn't work with UTF-8 filenames
----------------------+-----------------------------------------------------
Reporter: malebria | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.8.2
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* difficulty: => Unknown
Old description:
> 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 )
New description:
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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list