Error open file if name contain national symbol
Os Windows Vista Home Basic Ru + sp2
Steps
- Haskell code (bug.hs in utf-8):
main = do
con <- readFile "фыва.txt"
print con
- Console session:
C:\Lang\test>ghc -O3 --make bug.hs
C:\Lang\test>echo asdf>фыва.txt
C:\Lang\test>bug.exe
bug.exe: DK20.txt: openFile: does not exist (No such file or directory)
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |