Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Aleksey Khudyakov <alexey.skladnoy <at> gmail.com>
Subject: Re: ghci can't load file whose name contains non-ASCII chars?
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Wednesday 28th March 2012 10:17:06 UTC (over 5 years ago)
On Wed, Mar 28, 2012 at 11:49 AM, Ivan Lazar Miljenovic
 wrote:
> On 28 March 2012 18:44, Johannes Waldmann 
wrote:
>> I must be making some obvious mistake here,
>> but I'm not seeing it. 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)
>>
I looks like GHC correctly decodes command line parameters and then
truncates them to 8-bit.

$ ghci ффф
:
    Could not find module `DDD'

>>> fromEnum 'ф' `mod` 256 == fromEnum 'D'
True

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
 
CD: 3ms