On Wed, Mar 28, 2012 at 11:49 AM, Ivan Lazar Miljenovic
<[email protected]> wrote:
> On 28 March 2012 18:44, Johannes Waldmann <[email protected]> 
> 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 ффф
<command line>:
    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

Reply via email to