#3309: getArgs should return Unicode on Unix
---------------------------------+------------------------------------------
Reporter: YitzGale | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: libraries/base | Version: 6.11
Keywords: unicode | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by ross):
Replying to [comment:8 simonmar]:
> Are you planning to make `peekCString` and friends do decoding by
default? I have a horrible feeling that will break lots of things. I know
it's what the FFI spec requires, but since we've never done it, changing
the behaviour now could be surprising.
This behaviour has been specified by the FFI spec since 2002, and was
incorporated into Haskell 2010. The documentation of the module has been
promising this change since 2004, and in all that time the alternative
CAString versions have been available, so it's probably not too hasty to
implement it now. I fear you're right about breakage, but it has to
happen some time.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3309#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs