Opened 10 years ago

Closed 10 years ago

#3469 closed bug (fixed)

Error open file if name contain national symbol

Reported by: Tonal Owned by:
Priority: high Milestone: 6.12.1
Component: libraries/base Version: 6.10.4
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Os Windows Vista Home Basic Ru + sp2

Steps

  1. Haskell code (bug.hs in utf-8):
    main = do
      con <- readFile "фыва.txt"
      print con
    
  1. 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)
    

Change History (2)

comment:1 Changed 10 years ago by simonmar

Component: Compilerlibraries/base
difficulty: Unknown
Milestone: 6.12.1
Priority: normalhigh

Fairly sure this will be fixed in 6.12.1, we should test.

comment:2 Changed 10 years ago by simonmar

Resolution: fixed
Status: newclosed

works with 6.12.1.

Note: See TracTickets for help on using tickets.