#5975: ghci can't load file whose name contains non-ASCII chars?
-------------------------------+--------------------------------------------
    Reporter:  j.waldmann      |       Owner:              
        Type:  bug             |      Status:  patch       
    Priority:  normal          |   Milestone:              
   Component:  GHCi            |     Version:  7.4.1       
    Keywords:                  |          Os:  Linux       
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown
  Difficulty:  Unknown         |    Testcase:              
   Blockedby:                  |    Blocking:              
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by pcapriotti):

  * status:  new => patch
  * difficulty:  => Unknown


Comment:

 The attached patch fixes the problem.

 I'm not quite sure what the extra encoding/decoding step was for in the
 original code. As it stands, it just truncates input strings `Char` to
 `Word8`, so it breaks for non-ascii characters in utf-8 (say).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5975#comment:2>
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

Reply via email to