Re: 6.12.1rc1: non-Latin filenames in GHCi

2009-10-20 Thread Chryssochoidis Christos
On 20 Οκτ 2009, at 3:08 μ.μ., Simon Marlow wrote: It's not to do with Haskeline. The real underlying problem is that our filesystem APIs on Unix interpret FilePath as [Word8] without doing any encoding/decoding; they just strip off all but the low 8 bits of each Char. This is a long-sta

Re: 6.12.1rc1: non-Latin filenames in GHCi

2009-10-20 Thread Simon Marlow
On 18/10/2009 20:15, Chryssochoidis Christos wrote: Thanks Don for your reply. I may have overlooked something in the blog post you gave, but my understanding is that it talks about the user's input/output to and from GHCi and the file system. The user IO with non-Latin chars seems to work fine i

Re: 6.12.1rc1: non-Latin filenames in GHCi

2009-10-18 Thread Chryssochoidis Christos
Thanks Don for your reply. I may have overlooked something in the blog post you gave, but my understanding is that it talks about the user's input/output to and from GHCi and the file system. The user IO with non-Latin chars seems to work fine in GHC 6.12.1; e.g.: *Main> putStrLn "πρόχει

Re: 6.12.1rc1: non-Latin filenames in GHCi

2009-10-18 Thread Don Stewart
christosc: > I've noticed that when I load in GHCi a file that has a non-latin name, > although it gets loaded, its name appears garbled in the message after > the loading: > >> Prelude> :load πρόχειρον.hs >> [1 of 1] Compiling Main ( πρόχειρον.hs, >> interpreted ) >> Ok,

6.12.1rc1: non-Latin filenames in GHCi

2009-10-18 Thread Chryssochoidis Christos
I've noticed that when I load in GHCi a file that has a non-latin name, although it gets loaded, its name appears garbled in the message after the loading: Prelude> :load πρόχειρον.hs [1 of 1] Compiling Main ( πρΠ¿ÌÏ‡ÎµÎ¹ÏÎ¿Î½.hs, interpreted ) Ok, modules loaded: Main. *