Opened 10 years ago

Closed 10 years ago

#2964 closed bug (duplicate)

System.Directory.getCurrentDirectory doesn't work on win32 if the current directory has non-ascii characters in its name

Reported by: kirby Owned by:
Priority: normal Milestone:
Component: libraries/directory Version: 6.10.1
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


If you create a path with an international character in it (accented letters are not enough, but russian characters or the euro symbol "€" is), and you try to call getCurrentDirectory from there (e.g. with ghci), it raises an exception:

Prelude System.Directory> getCurrentDirectory
*** Exception: SetCurrentDirectory: does not exist (The system cannot find the file specified.)

Change History (1)

comment:1 Changed 10 years ago by simonmar

difficulty: Unknown
Resolution: duplicate
Status: newclosed

looks like the same bug as #2963

Note: See TracTickets for help on using tickets.