#5975: ghci can't load file whose name contains non-ASCII chars? --------------------------+------------------------------------------------- Reporter: j.waldmann | Owner: Type: bug | Status: new Priority: normal | Component: GHCi Version: 7.4.1 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: None/Unknown | Testcase: Blockedby: | Blocking: Related: | --------------------------+------------------------------------------------- http://thread.gmane.org/gmane.comp.lang.haskell.cafe/97465
The file name contains O-umlaut, and the OS handles it fine, but ghci does not like it (although it accepts umlauts in the contents of the file (UTF-8) e.g., as a module name) {{{ $ cat fÖÖbar.hs main = print $ product [1..100] $ ghci fÖÖbar.hs GHCi, version 7.4.1: 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: f??bar.hs Failed, modules loaded: none. }}} this is on a standard ubuntu install (11.10 and 11.04) with {{{ $ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" ... $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.4.1 $ uname -a Linux octopus 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5975> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs