[GHC] #5253: Test 3307 and "readFileAs fileSystemEncoding" fails on Windows
GHC
cvs-ghc at haskell.org
Sun Jun 12 13:35:27 CEST 2011
#5253: Test 3307 and "readFileAs fileSystemEncoding" fails on Windows
---------------------------------+------------------------------------------
Reporter: igloo | Owner: batterseapower@…
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by malcolm.wallace@…):
I have no idea whether the following observation is relevant here or not,
but I recently discovered that in the Windows Command Shell (DOS box, also
used by the default Cygwin shell), even if the locale is set to C.UTF8,
there is something weird happening such that it believes it is in a
different encoding (one of the 8-bit non-variable-length code pages).
Changing the font (from Raster to e.g. Lucida Console) seems to encourage
the shell to believe the C.UTF8 encoding setting more firmly. Alternative
shells (such as MinTTY) are more consistent.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5253#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list