#7551 closed bug (fixed)

GHCI does not support UTF8 file names.

Reported by: timthelion Owned by:
Priority: normal Milestone:
Component: GHCi Version: 7.4.2
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: GHCi crash Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

[timothy@timothy current]$ ghci první/syntax/poznamky.hs 
GHCi, version 7.4.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.

<no location info>: can't find file: prvn?/syntax/poznamky.hs
Failed, modules loaded: none.
Prelude> :q
Leaving GHCi.
[timothy@timothy current]$ ghci
GHCi, version 7.4.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :load první/syntax/poznamky.hs 

<no location info>: can't find file: první/syntax/poznamky.hs
Failed, modules loaded: none.
Prelude> :q
Leaving GHCi.
[timothy@timothy current]$ cd první/syntax/
[timothy@timothy syntax]$ ghci poznamky.hs 
GHCi, version 7.4.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main             ( poznamky.hs, interpreted )
Ok, modules loaded: Main.
*Main> 

Change History (2)

comment:1 Changed 16 months ago by shachaf

I see the same problem in 7.4.1, but it works in 7.6.1.

comment:2 Changed 16 months ago by igloo

  • Difficulty set to Unknown
  • Resolution set to fixed
  • Status changed from new to closed

Yup, thanks for the report but it looks like it's already fixed.

Note: See TracTickets for help on using tickets.