[GHC] #3309: getArgs should return Unicode on Unix
GHC
cvs-ghc at haskell.org
Fri Mar 25 12:27:20 CET 2011
#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 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.
I've no objection to your proposal for unrepresentable chars, provided we
document it appropriately.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3309#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list